Solved

Differences Between ADO, DAO and RDO in Visual Basic

Posted on 2003-11-04
9
1,739 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Vb.net 2008 2 60
Put text in a picture ASP.NET C# 2 58
Export Data to Different .csv Files 26 107
Need Nag Screen for Reboot if system up time is over 14 days 12 52
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

825 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