Name
| Required/optional
| Data type
| Description
|
---|---|---|---|
Name
| Required
| String
| the name of an existing Microsoft Access database file, or the data source name (DSN) of an ODBC data source. See the Name property for more information about setting this value.
|
Options
| Optional
| Variant
| Sets various options for the database, as specified in Remarks.
|
ReadOnly
| Optional
| Variant
| True if you want to open the database with read-only access, or False (default) if you want to open the database with read/write access.
|
Connect
| Optional
| Variant
| Specifies various connection information, including passwords.
|
Setting
| Description
|
---|---|
True
| Opens the database in exclusive mode.
|
False
| (Default) Opens the database in shared mode.
|
Note
When you access a Microsoft Access database engine-connected ODBC data source, you can improve your application's performance by opening a Database object connected to the ODBC data source, rather than by linking individual TableDef objects to specific tables in the ODBC data source.
|