473,950 Members | 47,285 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Beginner Question: DAO vs. ADODB



Hi. I am a relative "newbie" who has been asked to create a database
for a Dog Competition Organization. I have created databases (for my
use) just for fun to organize a practice Dog Obedience Competition
another to organize those fun projects, I felt comfortable enough to
tack a database for work to manage software releases (I'm a programmer
for a major US Bank) for my department. I did this on my own time and
"sold" it to my manager after it was up and running. What a coup!!!
Each database project that I've worked on has been better that the
previous one, as I have improved my VBA and MS/ACCESS skills. For work,
I work in a Mainframe environment coding in Assembler, PL/TPF, and C
(plus some REXX EXEC on the side).

I hate to admit it, though, that I have exclusively used DAO in the VBA
behind forms and reports. Mostly just because I picked up the concepts
and commands and definitions and simply stuck with them.

Now, I have this "paying" project (that Dog Competition Organization
Database) to create and I thought I should truly understand DAO vs.
ADODB so that I could intelligently choose before I begin my new
project.

So ...

Is there a source for me to read that will clearly explain when to use
DAO vs. ADODB? I will be developing my new "project" in Access 2003
(Windows XP).

Or

If there is anyone who can give a brief explanation and suggestions in a
reply post ... that would be GREAT.

Thanks, in advance, for all your help.

Regards,
SueB
sl*****@verizon .net

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #1
17 9602
Here's my rule:

When in MS Access (any version), use DAO except and until you have a specific
case where ADO would be useful. It's OK to mix/match both libraries in one
application, but Access will force you to use some DAO anyway (unless you're
using ADPs which I don't recommend), so it's more consistent to make DAO your
default.

In any VB/VBA outside of MS Access, use ADO except/until you have a specific
case where DAO would be useful. There are some MDB database maintenance
operations that are still not possible in ADO.
On Mon, 11 Apr 2005 14:20:14 GMT, Susan Bricker <sl*****@verizo n.net> wrote:


Hi. I am a relative "newbie" who has been asked to create a database
for a Dog Competition Organization. I have created databases (for my
use) just for fun to organize a practice Dog Obedience Competition
another to organize those fun projects, I felt comfortable enough to
tack a database for work to manage software releases (I'm a programmer
for a major US Bank) for my department. I did this on my own time and
"sold" it to my manager after it was up and running. What a coup!!!
Each database project that I've worked on has been better that the
previous one, as I have improved my VBA and MS/ACCESS skills. For work,
I work in a Mainframe environment coding in Assembler, PL/TPF, and C
(plus some REXX EXEC on the side).

I hate to admit it, though, that I have exclusively used DAO in the VBA
behind forms and reports. Mostly just because I picked up the concepts
and commands and definitions and simply stuck with them.

Now, I have this "paying" project (that Dog Competition Organization
Database) to create and I thought I should truly understand DAO vs.
ADODB so that I could intelligently choose before I begin my new
project.

So ...

Is there a source for me to read that will clearly explain when to use
DAO vs. ADODB? I will be developing my new "project" in Access 2003
(Windows XP).

Or

If there is anyone who can give a brief explanation and suggestions in a
reply post ... that would be GREAT.

Thanks, in advance, for all your help.

Regards,
SueB
sl*****@verizo n.net

*** Sent via Developersdex http://www.developersdex.com ***


Nov 13 '05 #2

Steve,
Thank you for your input. By the way, I don't know what happened to my
original post. It looks like when I was editting it I deleted some
words here and there. I really don't write (or speak) like that!!! : )

Thanks again.
SueB
*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #3
ng
That's interesting Steve. At first I thought those ADP's were the cats
meow, until I realized how completely different they are. Microsoft would
like you to beliveve that if you're a seasoned access person, that you'll
get these ADPs right away and the whole world will be a panacia. BS. Like
DAO, ADO, ADOX, ADOXDB or WHATEVER ELSE they have coming down the pipeline.
I don't get the feeling that microsoft really has their heart in this ADP
thing, that's why *I* decided not to go ahead with any further development
using ADPs. I'm not afraid to learn a new language/process/whatever, I just
don't want to waste my time learning some microsoft proprietary product,
when it looks to me like they'll drop it, or not put their full steam into
it.

I love DAO. It does what I need, I see nothing in in ADO...ADoxDDBOB O that
is worth switching for.

-dp

"Steve Jorgensen" <no****@nospam. nospam> wrote in message
news:um******** *************** *********@4ax.c om...
Here's my rule:

When in MS Access (any version), use DAO except and until you have a
specific
case where ADO would be useful. It's OK to mix/match both libraries in
one
application, but Access will force you to use some DAO anyway (unless
you're
using ADPs which I don't recommend), so it's more consistent to make DAO
your
default.

In any VB/VBA outside of MS Access, use ADO except/until you have a
specific
case where DAO would be useful. There are some MDB database maintenance
operations that are still not possible in ADO.
On Mon, 11 Apr 2005 14:20:14 GMT, Susan Bricker <sl*****@verizo n.net>
wrote:


Hi. I am a relative "newbie" who has been asked to create a database
for a Dog Competition Organization. I have created databases (for my
use) just for fun to organize a practice Dog Obedience Competition
another to organize those fun projects, I felt comfortable enough to
tack a database for work to manage software releases (I'm a programmer
for a major US Bank) for my department. I did this on my own time and
"sold" it to my manager after it was up and running. What a coup!!!
Each database project that I've worked on has been better that the
previous one, as I have improved my VBA and MS/ACCESS skills. For work,
I work in a Mainframe environment coding in Assembler, PL/TPF, and C
(plus some REXX EXEC on the side).

I hate to admit it, though, that I have exclusively used DAO in the VBA
behind forms and reports. Mostly just because I picked up the concepts
and commands and definitions and simply stuck with them.

Now, I have this "paying" project (that Dog Competition Organization
Database) to create and I thought I should truly understand DAO vs.
ADODB so that I could intelligently choose before I begin my new
project.

So ...

Is there a source for me to read that will clearly explain when to use
DAO vs. ADODB? I will be developing my new "project" in Access 2003
(Windows XP).

Or

If there is anyone who can give a brief explanation and suggestions in a
reply post ... that would be GREAT.

Thanks, in advance, for all your help.

Regards,
SueB
sl*****@veriz on.net

*** Sent via Developersdex http://www.developersdex.com ***

Nov 13 '05 #4
Greetings. Thank you for your input. Sorry if this is really a basic
question, but what is ADP (as referred to in one of the replies here?
Also, I still would like to have an understanding of DAO and ADODB. Is
there a good book, article, or website that I can go to for information?

Thanks.
SueB

*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #5
Susan Bricker <sl*****@verizo n.net> wrote in
news:yI******** *****@news.uswe st.net:
I hate to admit it, though, that I have exclusively used DAO in
the VBA behind forms and reports.


There's nothing to admit.

ADO is of virtually no use in an Access application manipulating
data stored in Jet databases (i.e., MDB files).

It is quite useful if you're back end is SQL Server.

Other than that, the ADO thing was a massive hoax perpetrated by
Microsoft's marketing department, i.e., people who didn't have any
comprehension whatsoever of the technical issues involved.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #6
Susan Bricker <sl*****@verizo n.net> wrote in
news:8u******** *******@news.us west.net:
Greetings. Thank you for your input. Sorry if this is really a
basic question, but what is ADP (as referred to in one of the
replies here? . . .
An Access Data Project. It is a misguided attempt to create an
Access front end that doesn't involve Jet (which is impossible as
long as you're using the Access executable itself). It's for people
who are allergic to Jet because they never learned how to manage it
in a client/server environment. ADPs are of use only for creating
applications that run against MS SQL Server back ends, and each
version of Access has serious bugs in the implementation, bugs that
are sometimes fixed in one version and then re-appear in the next.
And some things that worked fine in early versions are broken in
later versions.

If you're thinking that ADPs are something you can completely
ignore, you're absolutely right.
. . . Also, I still would like to have an understanding of
DAO and ADODB. Is there a good book, article, or website that I
can go to for information?


The ADO that you have available to you in Access has already been
abandoned by Microsoft in favor of ADO.NET, which is not yet
supported in Access.

My advice is to ignore ADO until you have a need for it. If you're
not building applications to run against SQL Server, then you have
no need for ADO at all.

In other words: don't waste your time.

--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
Nov 13 '05 #7
On Mon, 11 Apr 2005 20:21:28 GMT, "David W. Fenton"
<dX********@bwa y.net.invalid> wrote:
Susan Bricker <sl*****@verizo n.net> wrote in
news:yI******* ******@news.usw est.net:
I hate to admit it, though, that I have exclusively used DAO in
the VBA behind forms and reports.


There's nothing to admit.

ADO is of virtually no use in an Access application manipulating
data stored in Jet databases (i.e., MDB files).

It is quite useful if you're back end is SQL Server.

Other than that, the ADO thing was a massive hoax perpetrated by
Microsoft's marketing department, i.e., people who didn't have any
comprehensio n whatsoever of the technical issues involved.


Oh, I give them a bit more credit than that. ADO was a reasonable-seeming
effort to unify the common aspects of how persistent data is read/written to
databases, file systems, etc. It also included some genuine fixes to object
model strangeness, and some big improvements in handling stateless
connections.

Unfortunately, it's also an overengineered, top-heavy, fragile,
freature-creeped beheamoth. Oh well - nothing's perfect <g>.
Nov 13 '05 #8
On Mon, 11 Apr 2005 19:46:12 GMT, Susan Bricker <sl*****@verizo n.net>
wrote:

David's opinion is not universally shared, although he certainly is
not alone.
At my company we have written several extensive ADP applications. Of
course we're hitting SQL Server and everyone is pleased with speed of
development and performance of the app. Yes we have run into some eh,
ideosyncracies of ADP, but we haven't had nearly as many problems as
some have reported. I wouldn't recommend it to a beginner, though.

If you have no need for a SQL Server back-end database, you might as
well stay with DAO. Going with ADO against an Access backend doesn't
make much sense.

-Tom.
Greetings. Thank you for your input. Sorry if this is really a basic
question, but what is ADP (as referred to in one of the replies here?
Also, I still would like to have an understanding of DAO and ADODB. Is
there a good book, article, or website that I can go to for information?

Thanks.
SueB

*** Sent via Developersdex http://www.developersdex.com ***


Nov 13 '05 #9
Thank you ALL for your input. I love this News Group. I learn
something EVERY time I get on and check the list.

SueB
*** Sent via Developersdex http://www.developersdex.com ***
Nov 13 '05 #10

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

Similar topics

46
3571
by: J.R. | last post by:
Hi folks, The python can only support passing value in function call (right?), I'm wondering how to effectively pass a large parameter, such as a large list or dictionary? It could achieved by pointer in C++, is there such way in Python? Thansk in advance. J.R.
11
2589
by: Svens | last post by:
Hey everyone! I'm a math student working on a short script involving logs. I have a function on my scientific calculator, and was wondering if there was a similar funtion in python. For example: (log65536)/(log4)= 8 I've searched around a bit and haven't been able to find anything.
3
3005
by: jvax | last post by:
Hi all, I hope I'm posting in the right NG... I have a data text file I want to read from a c++ program. the data file goes like this: 90 # number of balls 33 42 13
1
2639
by: Mike Malter | last post by:
I am just starting to work with reflection and I want to create a log that saves relevant information if a method call fails so I can call that method again later using reflection. I am experimenting a bit with what I need to do this and have the following code snippet. But first if I pass the assembly name and type to Activator.CreateInstance() it always fails. However if I walk my assembly and get a type value, the call to...
3
2656
by: Neal | last post by:
managed C++ VS 2003 I have a beginner question about windows forms.... I need to call a function when a certain limit has been reached, now with the way VS sets up the .NET windows Form I get confused. When I was using Directx everything was being run from a while loop, so that was no problem for me in seeing where to place conditional statements and other functions. With windows forms do I need to have an event and eventhandler? it...
6
5409
by: Andy Leese | last post by:
Beginner Question: ASCII Symbols I am using Borland C++ and programming under DOS. I wish to display the symbols of the early ASCII character set... For example: cout << char(7); Obviously this is assigned to the BELL signal and therefore sounds the beep
4
1568
by: a | last post by:
Dear all vb.net developer I want to know the time I need to master vb.net? I'm beginner
0
1343
by: Daniel T. | last post by:
Carter <cartercheng@gmail.comwrote: When you see "discards qualifiers", more often than not, it means that a const object is begin asked to do something that only non-const objects can do. I.E., the operation discards the const qualifier.
2
1859
by: roanhn | last post by:
Hello. I've to to write a master's thesis. Currently I deal with php, mysql, ajax. Fate decreed that I've to choose one of this subjects: 1.gdi+ library in .net technology 2.ado.net technology in VS 2008. I didn't have contact with Visual Studio, .NET. I only know some basics of c++. My question is what subject of your point of view will be easier for absolute beginner in .net domain. From writing which subject I gain more knowledge...
0
10171
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11595
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11191
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11366
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10703
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9904
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8268
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6352
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4549
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.