OfficeDataSourceObject.Open Method (Office)

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.

See also

OfficeDataSourceObject Object

OfficeDataSourceObject Object Members