Table of contents
TOC
Collapse the table of content
Expand the table of content

OfficeDataSourceObject.Open Method (Office)

office 365 dev account|Last Updated: 6/12/2017
|
1 Contributor

Opens a table in a OfficeDataSourceObject object.

Syntax

expression. Open( bstrSrc, bstrConnect, bstrTable, fOpenExclusive, fNeverPrompt )

expression A variable that represents an OfficeDataSourceObject object.

Parameters

NameRequired/OptionalData TypeDescription
bstrSrcOptionalStringContains the name of the data source.
bstrConnectOptionalStringContains the connection string to the data source.
bstrTableOptionalStringSpecifies which table to open.
fOpenExclusiveOptionalLongIndicates whether the table should be opened for exclusive access.
fNeverPromptOptionalLongIndicates whether to notify the user if the table can not be opened.

See also

Concepts

OfficeDataSourceObject Object

Other resources

OfficeDataSourceObject Object Members

© 2018 Microsoft