- Data Access Objects
Data Access Objects is a general
programming interface fordatabase access onMicrosoft Windows systems and should not be confused with theData Access Object design pattern used inobject-oriented software design .History
DAO were originally called VT Objects. DAO 1.0 came up in November 1992. In version 3.5 it was able to bypass the Jet engine altogether and directly access
ODBC data sources, includingMicrosoft SQL Server and otherenterprise database system s. DAO 3.6 was the final version developed by Microsoft. Microsoft says that DAO will not be available in its future 64-bitoperating system s. [ [http://msdn2.microsoft.com/en-us/library/ms810810.aspx#mdac%20technologies%20road%20map%20old_topic9 Data Access Technologies Road Map ] ]Design
DAO works by creating a "Workspace" object in which all database operations are performed. The workspace object exists as a session object that exists within a larger database engine object. There are two types of database engines: a Jet database engine object, and an ODBCDirect database engine.
Jet
The Jet database engine object consists of several objects:
* a workspace object containing
* a groups and users object
* a database object containing
* container objects which consist of
* containers of objects
* query definition (QueryDef) objects
* Recordset objects which are defined by a set of field objects
* relation objects which show the relationship between different fields in the database
* table definition (TableDef) objects which consists of fields and indexes of selected fields.
* a series of error objectsODBCDirect
The ODBCDirect database engine consists of a workspace object and an errors object. The main differences between this database engine and the Jet database engine are:
* the workspace object contains only a series of ODBC connection objects
* the database object consists of a series of recordset objectsThe ODBC connection objects consist of QueryDef objects and recordset objects.
See also
*
Microsoft Data Access Components
*ActiveX Data Objects (ADO)
*Remote Data Objects (RDO)References
Wikimedia Foundation. 2010.