Export (0) Print
Expand All
Expand Minimize

2.4.186 OleDbConn

Office

The OleDbConn record specifies the connection information for an OLE DBconnection string, and specifies the beginning of a collection of ExtString records as defined by the Worksheet SubstreamABNF. The collection of ExtString records specifies the connection string for a query that retrieves external data.


0

1

2

3

4

5

6

7

8

9
1
0

1

2

3

4

5

6

7

8

9
2
0

1

2

3

4

5

6

7

8

9
3
0

1

frtHeaderOld

A

B

reserved1

cst

reserved2

frtHeaderOld (4 bytes): An FrtHeaderOld structure. The frtHeaderOld.rt field MUST be 0x080A.

A - fPasswd (1 bit): A bit that specifies whether the connection password is present in the connection string. A value of 1 specifies that the password was stripped from the connection string.

B - fLocal (1 bit): A bit that specifies whether the connection string is the main connection string or an alternate connection string. See ConnGrbitDbtOledb for more information.

reserved1 (14 bits): MUST be zero, and MUST be ignored.

cst (2 bytes): An unsigned integer that specifies the number of ExtString records that follow this record. MUST be greater than 0. If the value is 1, the connection string is specified by ExtString.string. If the value is greater than 1, the connection string is determined by concatenating each of the ExtString.string fields of the ExtString records that follow.

reserved2 (4 bytes): MUST be zero, and MUST be ignored.

Show:
© 2014 Microsoft