?
Solved

Differences Between ADO, DAO and RDO in Visual Basic

Posted on 2003-11-04
9
Medium Priority
?
2,566 Views
Last Modified: 2013-12-25
Differences Between ADO, DAO and RDO in Visual Basic?
0
Comment
Question by:Ramachandran2k
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 9

Accepted Solution

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

Assisted Solution

by:MYLim
MYLim earned 332 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 8

Expert Comment

by:MYLim
ID: 9684572
Agree q(^ _ ^)p
0
 
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 332 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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 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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month11 days, 17 hours left to enroll

752 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