Database members (DAO)
Applies to: Access 2013, Office 2013
A Database object represents an open database.
Methods
Name |
Description |
---|---|
Closes an open Database. |
|
Creates a new user-defined Property object (Microsoft Access workspaces only). . |
|
Creates a new QueryDef object. |
|
Creates a new Relation object (Microsoft Access workspaces only). . |
|
Creates a new TableDef object (Microsoft Access workspaces only). . |
|
Runs an action query or executes an SQL statement on the specified object. |
|
Makes a new replica from another database replica (Microsoft Access workspaces only). |
|
Changes the password of an existing Microsoft Access database engine database (Microsoft Access workspaces only). |
|
Creates a new Recordset object and appends it to the Recordsets collection. |
|
Synchronizes any changes in a partial replica with the full replica, clears all records in the partial replica, and then repopulates the partial replica based on the current replica filters. (Microsoft Access database engine databases only.). |
|
Synchronizes two replicas. (Microsoft Access workspaces only). |
Properties
Name |
Description |
---|---|
Returns a value that specifies the sequence of the sort order in text for string comparison or sorting (Microsoft Access workspaces only). Read-only Long. |
|
Sets or returns a value that provides information about the source an open database. Read/write String. |
|
NOTE: ODBCDirect workspaces are not supported in Microsoft Access 2013. Use ADO if you want to access external data sources without using the Microsoft Access database engine. Returns the Connection object that corresponds to the database (ODBCDirect workspaces only). |
|
Returns a Containers collection that represents all of the Container objects in the specifed database. Read-only. |
|
Sets or returns a 16-byte value that uniquely identifies the Design Master in a replica set (Microsoft Access workspaces only). |
|
Returns the name of the specified object. Read-only String. |
|
Returns the Properties collection of the specified object. Read-only. |
|
Returns a QueryDefs collection that contains all of the QueryDef objects of the specified database. Read-only. |
|
Sets or returns a value that specifies the number of seconds to wait before a timeout error occurs when a query is executed on an ODBC data source. |
|
Returns the number of records affected by the most recently invoked Execute method. |
|
Returns a Recordsets collection that contains all of the open recordsets in the for the specified database. Read-only. |
|
Returns a Relations collection that contains all of the stored Relation objects for the specified database. Read-only. |
|
Returns a 16-byte value that uniquely identifies a database replica (Microsoft Access workspaces only). |
|
Returns a TableDefs collection that contains all of the TableDef objects stored in the specified database. Read-only. |
|
Returns a value that indicates whether an object supports transactions. Read-only Boolean. |
|
Returns a value that indicates whether you can change a DAO object. Read-only Boolean. |
|
In a Microsoft Access workspace, returns the vesion of the Microsoft Jet or Microsoft Access database engine that created the database. Read-only String. |