Kan said:
somebody tell me the adv/dis-adv to using ado vs. dao
My summary would be, there are some things that DAO can do that ADO
can't (see the list Doug linked to) and vice versa (notably, ADO can
use the Jet 4.0 functionality and DAO generally cannot).
I think the ADO model is nicer to work with e.g. unlike DAO you don't
have to explicitly create and destroy objects and in a certain correct
order. ADO objects are more feature rich e.g. recordsets can be
disconnected and/or fabricated and/or hierarchical and support
more/improved properties and methods plus, because the can be used
asynchronously, they have events. But then anyone *would* expect ADO to
have improvements, having being built on the success of DAO and learnt
from its failures. I choose ADO because code maintenance
On the other hand, I understand DAO like-for-like offers better
performance. Also, there is a greater body of work in DAO for
Access/Jet e.g. on google you are more likely to find a DAO code
example than an ADO one.
Is anyone forcing you to make a choice, one way or the other? I get the
impression most of the Access MVPs use both ADO and DAO; I think anyone
would be best advised to do the same to be able to enjoy the best of
both worlds.
Jamie.
--