Re: DAO vs ADO
- From: "Douglas J. Steele" <NOSPAM_djsteele@xxxxxxxxxxxxxxxxx>
- Date: Tue, 24 Jun 2008 12:11:29 -0400
Depending on how you're connecting to SQL Server, yes, it might make sense
to use ADO.
I've written applications where my communication to SQL Server was all done
through pass-through queries: no linked tables. Since pass-through queries
are not updatable, I used ADO to run the Update, Delete and Append queries
to update the database.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
"Gary S" <GaryS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8CD62AAB-0E71-4FBE-A36E-3C7291A955AD@xxxxxxxxxxxxxxxx
Doug,
You mention it might make sense to use ADO
over DAO when connecting with certain dbms,
does that include SQL Server?
--
Thanks for your help!
Gary S
"Douglas J. Steele" wrote:
As Dave mentioned, DAO is alive and well. In fact, it's ADO that's no
longer
supported: it was replaced by ADO.Net, which is quite different (and
which
can't be used by Access).
DAO was designed specifically for use with Jet databases (i.e.: mdb, mde,
accdb or accde files). ADO, being a generic interface, isn't as quick
(nor
as capable) in that situation, although it might make sense if you're
connecting to other DBMS.
--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)
"Gary S" <GaryS@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8370231C-F3BA-47FF-A124-FA05260068A7@xxxxxxxxxxxxxxxx
I have a general question about DAO vs ADO.
It is my understanding ADO is the way to go and
DAO will eventually not be supported. But when
I look at coding examples at various web sites
that give examples of code, it is usually DAO.
Am I mistaken about DAO phase out? Please help me
understand.
--
Thanks for your help!
Gary S
.
- Follow-Ups:
- Re: DAO vs ADO
- From: Rick Brandt
- Re: DAO vs ADO
- References:
- Re: DAO vs ADO
- From: Douglas J. Steele
- Re: DAO vs ADO
- Prev by Date: Re: creating search box in vba
- Next by Date: Re: How to Update Records on a form
- Previous by thread: Re: DAO vs ADO
- Next by thread: Re: DAO vs ADO
- Index(es):
Relevant Pages
|