PC Review


Reply
Thread Tools Rate Thread

DAO, Recordset, RecordsetClone, ADODB

 
 
Abdul Shakeel
Guest
Posts: n/a
 
      29th May 2008
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

 
Reply With Quote
 
 
 
 
Stefan Hoffmann
Guest
Posts: n/a
 
      29th May 2008
hi Abdul,

Abdul Shakeel wrote:
> 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 <--
 
Reply With Quote
 
Douglas J. Steele
Guest
Posts: n/a
 
      29th May 2008
"Stefan Hoffmann" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hi Abdul,
>
> Abdul Shakeel wrote:
>> 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.


<picky>Perhaps a moot distinction, since DAO is now ACE, and ADO is now
dead.</picky>

> 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.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DAO, Recordset, Recordsetclone, ADODB Abdul Shakeel Microsoft Access VBA Modules 2 3rd Jun 2008 11:07 AM
Equivalent ADODB.Connector and ADODB.Recordset in VB.NET Marty Microsoft Dot NET 3 25th Sep 2004 10:36 PM
Equivalent ADODB.Connector and ADODB.Recordset in VB.NET Marty Microsoft VB .NET 3 25th Sep 2004 10:36 PM
ADODB Recordsetclone garth Microsoft Access Form Coding 1 18th Feb 2004 12:57 AM
How to reference recordsetclone property with ADODB Christian Sawyer Microsoft Access 5 17th Aug 2003 11:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:43 PM.