Hi, Brad.
The DAO and ADO Object Libraries are libraries written to allow us to access
data from whatever source the data is currently stored in. DAO stands for
Data Access Objects and ADO stands for ActiveX Data Objects. DAO is the
older object library that Microsoft replaced with ADO, but later realized
that DAO is better for accessing Jet databases, so recommends using DAO now.
The DAO library was designed to work with Jet databases and using ODBC and
drivers, can connect to other types of databases and work with those data
sets as well in a heterogeneous environment. The DAO library handles
database connections, data sets, record locking and transactions. It also
can manipulate the Jet Database Engine Object and can handle Jet's User-Level
security.
The ADO is a generic library to handle database connections, data sets,
record locking and transactions. It has several features that are
unavailable in DAO, such as disconnected recordsets, but one may never need
these features.
Please see the following Web page for the MichKa's (Michael Kaplan, former
Access MVP) list of things that DAO has that ADO doesn't have:
http://www.trigeminal.com/usenet/usenet025.asp?1033
Both Access 2000 and Access 2002 have the ADO library set as the default
data access library -- which causes problems to this day -- but thankfully,
Microsoft saw the wisdom of setting the DAO library as the default library
for data access, so this is what newly created databases in Access 2003 and
pre-Access 2000 versions have.
If you are going to be programming Access's objects and data, then I'd
recommend that you learn DAO ASAP. If you only need enough programming
skills to connect to external non-Jet data sources, then ADO is fine.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.