DAO, Recordset, RecordsetClone, ADODB

A

Abdul Shakeel

Hi All,

Could anyone tell me what are the Definations of DAO, Recordset,
Recordsetclone, & ADODB. when, why & which conditions we used them in our
database
 
S

Stefan Hoffmann

hi Abdul,

Abdul said:
Could anyone tell me what are the Definations of DAO, Recordset,
Recordsetclone, & ADODB. when, why & which conditions we used them in our
database
You have to distinguish between DAO and ADO first:

DAO = Data Access Objects
ADO = ActiveX Data Objects

DAO is the older technology, ADO the newer. As both are dealing with
data they have both a Recordset object which holds the data.

ADODB is the name used when programming with ADO, its is namespace.

In a fresh .mdb you can't use ADO without setting a reference to the ADO
library.

The RecordsetClone method belongs to the Access.Form object. It returns
a Recordset object holding a copy of the data used/displayed by the form.


mfG
--> stefan <--
 
D

Douglas J. Steele

Stefan Hoffmann said:
hi Abdul,


You have to distinguish between DAO and ADO first:

DAO = Data Access Objects
ADO = ActiveX Data Objects

DAO is the older technology, ADO the newer.

<picky>Perhaps a moot distinction, since DAO is now ACE, and ADO is now
dead. said:
As both are dealing with data they have both a Recordset object which
holds the data.

ADODB is the name used when programming with ADO, its is namespace.

In a fresh .mdb you can't use ADO without setting a reference to the ADO
library.

All versions of Access since 2000 have had a reference to ADO by default.
Access 2000 and 2002 didn't have a reference set to DAO, but it's there by
default in Access 2003 and 2007. Unfortunately, it's lower in the sort order
than the reference to ADO, so ADO get precedence if you don't diambiguate.
 

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

Top