Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Difference between ADO and DAO

Status
Not open for further replies.

dirkg

Technical User
May 20, 2000
170
BE
Coud anyone tell me what the differnce is between ADO and DAO? And which of the two would you recommend to use?

Thanks in advance.


Greetz,

Dirk
 
Here is another good link. It does a code comparison with examples of DAO and ADO. The intent is how you need to recode the DAO functions in ADO.


If you are only using Access then DAO is fine, but if you use or intent to use other products then the ADO you learn in Access with be transferable to the other products. Products such as ASP, Java, VB, or other 3rd party front end and web based tools.
 
Don't forget, in 2000 and higher, to dimension objects specifically:

Incorrect:

Dim rs As Recordet
Dim fld As Field

Correct:

Dim rs As DAO.Recordset OR ADO.Recordset
Dim rs As DAO.Field OR ADO.Field

etc. Jim Lunde
compugeeks@hotmail.com
We all agree your theory is crazy, but is it crazy enough?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top