2.4.61 BrtBeginECDbProps
The BrtBeginECDbProps record specifies the properties associated with an ODBC or OLE DB external connection (section 2.2.8) and specifies the beginning of an empty collection of records as defined by the External Data Connections (section 2.1.7.24) part ABNF.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
icmdtype |
|||||||||||||||||||||||||||||||
A |
B |
reserved |
stConn (variable) |
||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
stCmd (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
stCmdSvr (variable) |
|||||||||||||||||||||||||||||||
... |
icmdtype (4 bytes): A CmdType (section 2.5.21) that specifies the OLE DB or ODBC command type. This value MUST be CMDSQL (section 2.5.21) if this record is an ODBC data connection, as specified in section 2.2.8.4.
A - fLoadCmdSvr (1 bit): A bit that specifies whether stCmdSvr exists after the fixed-size portion of this record. This value MUST be 0 if this record is an OLE DB data connection, as specified in section 2.2.8.3.
B - fLoadCmd (1 bit): A bit that specifies whether stCmd exists after the fixed-size portion of this record.
reserved (6 bits): This value MUST be 0, and MUST be ignored.
stConn (variable): An XLWideString (section 2.5.169) that specifies the connection string used to connect to an OLE DB or ODBC data source. The length of this value MUST be less than 65536 characters. The length of this value MUST be 0 if the fDeleted field of the preceding BrtBeginExtConnection (section 2.4.80) record is 1.
stCmd (variable): An optional XLWideString that specifies the database command to pass to the data provider. This field MUST exist if and only if fLoadCmd is 1.
stCmdSvr (variable): An optional XLWideString that specifies the database command to use instead of stCmd if the cache field that is used as a server-based page field, as specified in Source Data (section 2.2.5.2.1), is removed from the page axis (section 2.2.5.3.7.1) or made into a page field that is not a server-based page field. This field MUST exist if and only if fLoadCmdSvr is 1.