ADODB Object
 
Syntax
 
string = connectionobject.DefaultDatabase
connectionobject.DefaultDatabase = string
 
Description
Sets or returns a string value that is the default name of the database available from the provider for a Connection object.
 
The DefaultDatabase property is used to set or return a string value that is the default database for a specific server-side connection. This property cannot be used with a client-side connection (Remote Data Service). Even if a default database is set, you may still open connections that access other databases.
 
See Also
Example
 
objConnection.DefaultDatabase = "Tradium"
...
objRecordset.Open "Prm_Grootboek", objConnection