Database Property (DAO)

Microsoft DAO 3.60

Database Property

           

Returns the Database object that corresponds to this connection (ODBCDirect workspaces only).

Return Values

The return value is an object variable that represents a Database object.

Remarks

On a Connection object, use the Database property to obtain a reference to a Database object that corresponds to the Connection. In DAO, a Connection object and its corresponding Database object are simply two different object variable references to the same object. The Database property of a Connection object and the Connection property of a Database object make it easier to change connections to an ODBC data source through the Microsoft Jet database engine to use ODBCDirect.