Hi Mike,
As Bruce mentioned, DAO makes much more efficient use to the Microsoft Jet
database engine than ADO and many operations are faster under DAO.
The DAO object model is designed specifically for the Microsoft Jet
database engine. Jet itself incorporates ISAM and ODBC connectivity and
makes the back-end providers look as much like the native Jet engine as
possible, though this comes at the expense of performance. DAO also has an
ODBCDirect mode that allows it to host RDO objects and access ODBC
datasources in a very efficient manner.
The ADO object model was designed for OLE DB providers and is a much
simpler and more flexible object model than DAO. However, its architectural
design poses some problems when using the Microsoft Jet OLE DB provider,
and it is more limited than DAO in Jet functionality it supports.
The advantage of using ADO in lieu of DAO is when you request data through
an OLE DB provider that does not have a corresponding ODBC Driver.
Using ADO also allows you to access a greater variety of datastores than
DAO since ODBC accesses relational data only. OLE DB exposes non-relational
data to ADO, allowing you to access and manipulate more data sources using
ADO/OLE DB than possible with DAO/ODBC.
Please feel free to reply to the threads if you have any concerns or
questions.
Sincerely,
Alick Ye, MCSD
Product Support Services
Microsoft Corporation
Get Secure! - <
www.microsoft.com/security>
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Content-Class: urn:content-classes:message
| From: "Mike" <
[email protected]>
| X-Tomcat-NG: microsoft.public.access.modulesdaovba.ado
|
| I have an Access XP database that contains a lot of code
| that accesses data via DAO. Would there be any benefits
| in converting the code to use ADO instead, i.e. speed,
| stability?
|
| Thanks.
|
|