OfficeDataSourceObject.Open Method
Opens a table in a OfficeDataSourceObject object.
Syntax
expression.Open(bstrSrc, bstrConnect, bstrTable, fOpenExclusive, fNeverPrompt)
expression A variable that represents an OfficeDataSourceObject object.
Parameters
| Name | Required/Optional | Data Type | Description |
|---|---|---|---|
| bstrSrc | Optional | String | Contains the name of the data source. |
| bstrConnect | Optional | String | Contains the connection string to the data source. |
| bstrTable | Optional | String | Specifies which table to open. |
| fOpenExclusive | Optional | Long | Indicates whether the table should be opened for exclusive access. |
| fNeverPrompt | Optional | Long | Indicates whether to notify the user if the table can not be opened. |