Solved

Differences Between ADO, DAO and RDO in Visual Basic

Posted on 2003-11-04
9
1,572 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
Comment Utility
0
 
LVL 8

Assisted Solution

by:MYLim
MYLim earned 83 total points
Comment Utility
0
 
LVL 9

Expert Comment

by:dancebert
Comment Utility
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
Comment Utility
Agree q(^ _ ^)p
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 53

Expert Comment

by:Dhaest
Comment Utility
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
Comment Utility
0
 
LVL 29

Expert Comment

by:leonstryker
Comment Utility
Ramachandran2k,

Please maintain your questions

Questions Asked 4
Questions Open 4

Leon
0
 
LVL 1

Expert Comment

by:ayufans
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

762 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

10 Experts available now in Live!

Get 1:1 Help Now