473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

ADO: Why I use it

1. It cleans up its own garbage; No "Set RS = nothing" is required;
2. OpenSchema provides me from Code or Script any information about my
Database of which I can think;
3. The provider for Internet Publishing gives me a very slick FTP
capability without FTP;
4. Recordsets can be unattached, stroked, reattached and update-batched
5. GetString() gives me easy and fast access to my recordset as string;
6. I can review errors by examining the connection error object;
7. I can use ADO to make changes to JET tables, including the newer
field types and properties, from SQL;
8. Temporary Indexes allow me to scan recordsets very quickly;
9. SaveToFile allows me to save a recordset locally (as a file, no db
required) and to reload it later;
10. The Shaping Provider gives me hierarchically organized data without
repetition.

Do you use it?

What are your reasons?

--
--
Lyle

"The aim of those who try to control thought is always the same. They
find one single explanation of the world, one system of thought and
action that will (they believe) cover everything; and then they try to
impose that on all thinking people."
- Gilbert Highet
Nov 13 '05 #1
5 1471
On Thu, 21 Apr 2005 14:16:02 -0400, Lyle Fairfield <ly******@yahoo.ca> wrote:
1. It cleans up its own garbage; No "Set RS = nothing" is required;
2. OpenSchema provides me from Code or Script any information about my
Database of which I can think;
3. The provider for Internet Publishing gives me a very slick FTP
capability without FTP;
4. Recordsets can be unattached, stroked, reattached and update-batched
5. GetString() gives me easy and fast access to my recordset as string;
6. I can review errors by examining the connection error object;
7. I can use ADO to make changes to JET tables, including the newer
field types and properties, from SQL;
8. Temporary Indexes allow me to scan recordsets very quickly;
9. SaveToFile allows me to save a recordset locally (as a file, no db
required) and to reload it later;
10. The Shaping Provider gives me hierarchically organized data without
repetition.

Do you use it?

What are your reasons?

--


I use it often, and for many of the reasons you suggest. I still find DAO to
be a more useful default library for Access applications, but I don't avoid
using ADO when I want to do one of the above. Using both libraries in the
same has worked just fine.
Nov 13 '05 #2
Yes, for most of the reasons you give.

One technique I find myself using a lot is building recordsets and
populating them from non-relational data.

--
Terry Kreft
MVP Microsoft Access
"Lyle Fairfield" <ly******@yahoo.ca> wrote in message
news:n4*********************@read2.cgocable.net...
1. It cleans up its own garbage; No "Set RS = nothing" is required;
2. OpenSchema provides me from Code or Script any information about my
Database of which I can think;
3. The provider for Internet Publishing gives me a very slick FTP
capability without FTP;
4. Recordsets can be unattached, stroked, reattached and update-batched
5. GetString() gives me easy and fast access to my recordset as string;
6. I can review errors by examining the connection error object;
7. I can use ADO to make changes to JET tables, including the newer
field types and properties, from SQL;
8. Temporary Indexes allow me to scan recordsets very quickly;
9. SaveToFile allows me to save a recordset locally (as a file, no db
required) and to reload it later;
10. The Shaping Provider gives me hierarchically organized data without
repetition.

Do you use it?

What are your reasons?

--
--
Lyle

"The aim of those who try to control thought is always the same. They
find one single explanation of the world, one system of thought and
action that will (they believe) cover everything; and then they try to
impose that on all thinking people."
- Gilbert Highet

Nov 13 '05 #3
Lyle Fairfield <ly******@yahoo.ca> wrote in
news:n4*********************@read2.cgocable.net:
1. It cleans up its own garbage; No "Set RS = nothing" is
required;


You're saying that ADO resolves a bug in VBA?

Magical!!!!!

I'm so glad you're happy with it!

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #4
Steve Jorgensen <no****@nospam.nospam> wrote in
news:2i********************************@4ax.com:
On Thu, 21 Apr 2005 14:16:02 -0400, Lyle Fairfield
<ly******@yahoo.ca> wrote:
1. It cleans up its own garbage; No "Set RS = nothing" is
required; 2. OpenSchema provides me from Code or Script any
information about my Database of which I can think;
3. The provider for Internet Publishing gives me a very slick FTP
capability without FTP;
4. Recordsets can be unattached, stroked, reattached and
update-batched 5. GetString() gives me easy and fast access to my
recordset as string; 6. I can review errors by examining the
connection error object; 7. I can use ADO to make changes to JET
tables, including the newer field types and properties, from SQL;
8. Temporary Indexes allow me to scan recordsets very quickly;
9. SaveToFile allows me to save a recordset locally (as a file, no
db required) and to reload it later;
10. The Shaping Provider gives me hierarchically organized data
without repetition.

Do you use it?

What are your reasons?

--


I use it often, and for many of the reasons you suggest. I still
find DAO to be a more useful default library for Access
applications, but I don't avoid using ADO when I want to do one of
the above. Using both libraries in the same has worked just fine.


What's wrong with me that I never ever have any call for any of the
the capabilities above (discounting #1, of course, which can't
possible have been resolved by ADO, since it's a bug in VBA, not
DAO)?

Terry Kreft's remark about creating recordsets from non-tabular data
is the only thing I could imagine ever using, but I can't say I've
had any cases where not using ADO for that purpose put me in a
situation where I couldn't deliver a working application that was
fast and efficient.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #5
"David W. Fenton" <dX********@bway.net.invalid> wrote in message
news:Xn**********************************@24.168.1 28.86...
Steve Jorgensen <no****@nospam.nospam> wrote in
news:2i********************************@4ax.com:
On Thu, 21 Apr 2005 14:16:02 -0400, Lyle Fairfield
<ly******@yahoo.ca> wrote:
1. It cleans up its own garbage; No "Set RS = nothing" is
required; 2. OpenSchema provides me from Code or Script any
information about my Database of which I can think;
3. The provider for Internet Publishing gives me a very slick FTP
capability without FTP;
4. Recordsets can be unattached, stroked, reattached and
update-batched 5. GetString() gives me easy and fast access to my
recordset as string; 6. I can review errors by examining the
connection error object; 7. I can use ADO to make changes to JET
tables, including the newer field types and properties, from SQL;
8. Temporary Indexes allow me to scan recordsets very quickly;
9. SaveToFile allows me to save a recordset locally (as a file, no
db required) and to reload it later;
10. The Shaping Provider gives me hierarchically organized data
without repetition.

Do you use it?

What are your reasons?

--


I use it often, and for many of the reasons you suggest. I still
find DAO to be a more useful default library for Access
applications, but I don't avoid using ADO when I want to do one of
the above. Using both libraries in the same has worked just fine.


What's wrong with me that I never ever have any call for any of the
the capabilities above (discounting #1, of course, which can't
possible have been resolved by ADO, since it's a bug in VBA, not
DAO)?

Terry Kreft's remark about creating recordsets from non-tabular data
is the only thing I could imagine ever using, but I can't say I've
had any cases where not using ADO for that purpose put me in a
situation where I couldn't deliver a working application that was
fast and efficient.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc


In my opinion David, you've become defensive without cause. Lyle certainly
never suggested that someone might be unable to "deliver a working
application that was fast and efficient" without using ADO. There are a
great many successful Access projects in use today, both with and without
the use of ADO code. Each of us makes choices of which to use (or both).
Lyle simply stated his reasons and asked others to do the same.

As for me, I work mostly with ADO. There are capabilities in ADO, several
of which Lyle mentioned, others he did not, that I like very much. There
are also features that I sorely miss from DAO. I don't have a particularly
good reason for having chosen this route. Or, at least not one based on
rational analytic comparison of the two. Five years ago, I undertook a
major new project with Access and was forced to make a choice. At the time,
all of the books were echoing Microsoft's position of the day, that DAO was
going away and would be replaced with ADO. We all know now, of course, how
valid that prediction was. But, good choice or bad, I got put in the ADO
camp.

My 2 cents worth,
Randy Harris
Nov 13 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: serge | last post by:
I've used ADO before and now SQL-DMO to execute SQL statements on a SQL Server database. I was just thinking if SQL-DMO has any capabilities that ADO.NET does not have when it comes to having a...
3
by: SAM | last post by:
Hey guys, Long time Access programmer, but never had to bother with these things until now. First, I use ADO all the time in VB, but now I need to use it in Access 2K. I never remember/know...
10
by: JB | last post by:
I've been away from Access for awhile and am now returning. When I left, ADO had arrived on the scene, but most people were still using DAO. Could someone point me towards some industry...
4
by: John Brown | last post by:
I am modifying some code to use ADO instead of DAO. This code is supposed to work with any ODBC compliant database, but there is a section where they check if the database is MS-Access, and do...
11
by: Jon Smith via DotNetMonster.com | last post by:
Hi all, I'm new to C# and am practising the language by writing simple contact manager programmes. I'm having a problem using ADO. I'm trying to connect to an Access 2000 database using...
19
by: MP | last post by:
I'm interested to learn how to use mdb files via ado/adox via vb6 Since I'm not using Access are those types of questions o.t. here? I see very few ado questions here. But there's a lot more...
32
by: robert d via AccessMonster.com | last post by:
I'm looking at converting DAO to ADO in my app. All of my DAO connections are of the following structure: Dim wsName As DAO.Workspace Dim dbName As DAO.Database Dim rsName As DAO.Recordset ...
0
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/adonetprogmsdn.asp Introduction In the .NET Framework, Microsoft introduces ADO.NET, an evolution of the data...
5
by: Lyle Fairfield | last post by:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndotnet/html/adonetprogmsdn.asp The Design of ADO To better understand the model and design of ADO.NET, it is helpful to...
12
by: Kevinp | last post by:
Just a silly question probably... I made the switch from VB6 to VB2005 when 2005 came out. Now I'm using 2008. When I started programming, VB5 was just out and I was using RDO. I loved ADO when it...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.