use of ADO and DAO

R

ReidarT

I use both ADO and DAO in an application. I prefere ADO, but I find it
difficult to find commands to add new fields in a table in a back-end
database and to compress the backend-database without using DAO.
My question is: When using both ADO and DAO, does it influence on the speed
of the database like listing records, lookup and so on.
best regards
reidarT
 
D

Douglas J. Steele

Assuming you're just connecting to a Jet database (i.e. an MDB), DAO is
faster. This is because DAO was specifically designed for Jet databases,
whereas ADO is a generic approach, and hence introduces additional layers of
abstraction.

FWIW, though, check http://support.microsoft.com/?id=230501 for how to
compact using ADO, and you can use ADOX to make changes to the table design
(or ALTER TABLE SQL statements)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Transaction problem between DAO and ADO 4
DAO vs ADO and SQL Server 1
Mixing DAO & ADO 1
DAO or ADO ? 5
ADO or DAO or ??? 13
dao and ado 2
Connecting to a SQL Server 2005 using VBA and ADO 2
DAO / ADO 11

Top