DAO vs ADO

C

Charlene

I'm modifiying a system written using DAO. Can I just code
my new logic using ADO and leave the old DAO stuff alone
or is it better to convert it all?.
 
T

TC

Depends what you mean by "better". Leaving the DAO alone maens less effort
(good), but also less consistency (bad). Which is more important to you?

If you are mixing DAO & ADO, you'll probably need to qualify each object
with the appropriate prefix; for example:

dim db as DAO.database, rs as DAO.recordset
^^^^^ ^^^^^

This is because DAO and ADO have certain objects in common, but those
objects are not compatible, despite having the same names.

HTH,
TC
 

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

A2007 not supporting dao 4
DAO vs ADO and SQL Server 1
Recordcount in ADO 10
Transaction problem between DAO and ADO 4
Mixing DAO & ADO 1
ADO vs DAO vs ADODB 1
DAO vs ADO 11
RecordCount on Subform using ADO 3

Top