Solved

Differences Between ADO, DAO and RDO in Visual Basic

Posted on 2003-11-04
9
1,636 Views
Last Modified: 2013-12-25
Differences Between ADO, DAO and RDO in Visual Basic?
0
Comment
Question by:Ramachandran2k
9 Comments
 
LVL 9

Accepted Solution

by:
dancebert earned 84 total points
ID: 9684526
0
 
LVL 8

Assisted Solution

by:MYLim
MYLim earned 83 total points
ID: 9684536
0
 
LVL 9

Expert Comment

by:dancebert
ID: 9684549
Great minds think alike ;-)

The link we both posted was written back when ADO was in version 2.0 (it's up to 2.7 now).  I forgot to add that DAO and RDO have been surpassed by ADO.  No reason to use the older technologies unless you're maintaining an app that uses it.
0
 
LVL 8

Expert Comment

by:MYLim
ID: 9684572
Agree q(^ _ ^)p
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 53

Expert Comment

by:Dhaest
ID: 9684766
1) Information from www.whatis.com:
RDO (Remote Data Objects)
is an application program interface (API) from Microsoft that lets programmers writing Windows applications get access to and from both Microsoft and other database providers. In turn, RDO statements in a program use Microsoft's lower-layer Data Access Objects (DAO) for actual access to the database. Database providers write to the DAO interface.
RDO has evolved into ActiveX Data Objects (ADO) which is now the program interface Microsoft recommends for new programs. ADO also provides access to nonrelational databases and is somewhat easier to use.

DAO (Data Access Objects)
is an application program interface (API) available with Microsoft's Visual Basic that lets a programmer request access to a Microsoft Access database. DAO was Microsoft's first object-oriented interface with databases. DAO objects encapsulate Access's Jet functions. Through Jet functions, it can also access other Structured Query Language (SQL) databases.
To conform with Microsoft's vision of a Universal Data Access (UDA) model, programmers are being encouraged to move from DAO , although still widely used, to ActiveX Data Objects (ADO) and its low-level interface with databases, OLE DB. ADO and OLE DB offer a faster interface that is also easier to program.

ActiveX Data Objects (ADO)
is an application program interface from Microsoft that lets a programmer writing Windows applications get access to a relational or non-relational database from both Microsoft and other database providers. For example, if you wanted to write a program that would provide users of your Web site with data from an IBM DB2 database or an Oracle database, you could include ADO program statements in an HTML file that you then identified as an Active Server Page. Then, when a user requested the page from the Web site, the page sent back would include appropriate data from a database, obtained using ADO code.
Like Microsoft's other system interfaces, ADO is an object-oriented programming interface. It is also part of an overall data access strategy from Microsoft called Universal Data Access. Microsoft says that rather than trying to build a universal database as IBM and Oracle have suggested, finding a way to provide universal access to various kinds of existing and future databases is a more practical solution. In order for this to work, Microsoft and other database companies provide a "bridge" program between the database and Microsoft's OLE DB, the low-level interface to databases.
OLE DB is the underlying system service that a programmer using ADO is actually using. A feature of ADO, Remote Data Service, supports "data-aware" ActiveX controls in Web pages and efficient client-side caches. As part of ActiveX, ADO is also part of Microsoft's overall Component Object Model (COM), its component-oriented framework for putting programs together.
ADO evolved from an earlier Microsoft data interface, Remote Data Objects (RDO). RDO works with Microsoft's ODBC to access relational databases, but not nonrelational databases such as IBM's ISAM and VSAM.

About microsoft ActiveX
http://msdn.microsoft.com/library/default.asp?url=/nhp/Default.asp?contentid=28001860

2) To see articles about it, see the links provided by "dancebert" and "MyLim":
ADO, DAO and RDO in Visual Basic:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconusingadodaordoinvisualbasic.asp
ADO Compared with RDO and DAO
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconadocomparedwithrdodao.asp
0
 
LVL 18

Assisted Solution

by:Sethi
Sethi earned 83 total points
ID: 9684868
0
 
LVL 29

Expert Comment

by:leonstryker
ID: 9916778
Ramachandran2k,

Please maintain your questions

Questions Asked 4
Questions Open 4

Leon
0
 
LVL 1

Expert Comment

by:ayufans
ID: 10458370
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

- Points split between dancebert, MYLim and Sethi

Please leave any comments here within the next four days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

ayufans
Cleanup Volunteer
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Use closed file on desktop in vba 6 65
Excel Vlookup to move data back to source. 4 83
Macro: print each sheet to pdf using ExportAsFixedFormat 11 40
VB6 ListBox Question 4 32
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now