初学者问题:DAO与ADODB [英] Beginner Question: DAO vs. ADODB

查看:105
本文介绍了初学者问题:DAO与ADODB的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




嗨。我是亲戚新手谁被要求为狗竞赛组织创建一个数据库

。我已经创建了数据库(我的

使用)只是为了有趣地组织练习狗服从竞赛

另一个组织这些有趣的项目,我觉得很舒服

为我的部门管理一个数据库,用于管理软件版本(我是一名程序员,为美国主要银行提供b $ b)。我是在我自己的时间做到这一点并且

已售出它启动并运行后,我的经理。什么是妙招!!!

每个我工作过的数据库项目都比之前的那个更好,因为我改进了我的VBA和MS / ACCESS技能。对于工作,

我在使用Assembler,PL / TPF和C

编写的大型机环境中工作(另外还有一些REXX EXEC)。


我讨厌承认,我在VBA中专门使用DA​​O

表格和报告。主要是因为我选择了概念

以及命令和定义并且只是坚持使用它们。


现在,我有这个支付项目(狗比赛组织

数据库)创建,我认为我应该真正理解DAO与

ADODB,这样我才能在开始新的之前聪明地选择/>
项目。


所以......


有没有我可以阅读的资料,可以清楚地解释什么时候到使用

DAO与ADODB?我将开发我的新项目在Access 2003中

(Windows XP)。





如果有人可以提供简报在

回复帖子中的解释和建议......这将是伟大的。


提前感谢您的所有帮助。


问候,

SueB
sl ***** @ verizon。 net


***通过开发人员指南 http发送://www.developersdex.com ***



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

推荐答案

这是我的规则:

在MS Access(任何版本)中,使用DAO,除非您有特定的

情况,其中ADO将有用。在一个

应用程序中混合/匹配两个库是可以的,但Access会强制你使用一些DAO(除非你是使用ADP的
)我不推荐),所以使DAO更加稳定你的

默认值。


在MS Access之外的任何VB / VBA中,使用ADO除了/直到你有一个特定的

案例,其中DAO将是有用的。有一些MDB数据库维护

操作在ADO中仍然无法实现。

2005年4月11日星期一14:20:14 GMT,Susan Bricker< sl * ****@verizon.net>写道:
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*****@verizon.net> wrote:


嗨。我是亲戚新手谁被要求为狗竞赛组织创建一个数据库。我创建了数据库(供我使用)只是为了有趣地组织练习狗服从比赛
另一个组织这些有趣的项目,我觉得足够舒服以确定数据库以便管理工作我部门的软件发布(我是美国主要银行的程序员)。我是在自己的时间做到这一点并且卖了它启动并运行后,我的经理。什么是妙招!!!
我已经处理过的每个数据库项目都比之前的更好,因为我提高了我的VBA和MS / ACCESS技能。为了工作,我在大型机环境中使用汇编程序,PL / TPF和C进行编码(另外还有一些REXX EXEC)。

我讨厌承认它但是,我在VBA中专门使用DA​​O
表格和报告。主要是因为我选择了概念
以及命令和定义,并且只是坚持使用它们。

现在,我有这个付费。项目(狗比赛组织数据库)创建,我认为我应该真正理解DAO与
ADODB,这样我才能在开始新的项目之前聪明地选择。

所以...

有没有我可以阅读的资料,可以清楚地解释何时使用DAO与ADODB?我将开发我的新项目在Access 2003中
(Windows XP)。



如果有人可以在回复帖子中给出简要的解释和建议。 ..那将是伟大的。

提前谢谢你的帮助。

问候,
SueB
sl ***** @ verizon.net

***通过开发人员指南 http:// www。 developersdex.com ***








Steve,

感谢您的投入。顺便说一句,我不知道我的

原帖发生了什么。看起来当我编辑它时,我在这里和那里删除了一些

字。我真的不会那样写(或说)! :)


再次感谢。

SueB

***通过Developersdex发送 http://www.developersdex.com ***

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


那个''有趣的史蒂夫。起初我以为那些ADP'是猫喵喵喵喵喵喵,直到我意识到它们有多么不同。如果你是一个经验丰富的访问者,微软会像你一样相信你会相信,你会立刻得到这些ADP,整个世界将是一个panacia。 BS。喜欢

DAO,ADO,ADOX,ADOXDB或者其他什么东西他们已经开始了。

我不觉得微软真的有他们的心在这ADP

的事情,这就是为什么*我*决定不继续使用ADP进行任何进一步的开发

。我不怕学习新的语言/过程/无论如何,我只是想要花掉我的时间学习一些微软的专有产品,

当它看起来像他们会放弃它,或者没有全力投入它们。


我喜欢DAO。它做我需要的,我在ADO中看不到任何东西... ADOXDDBOBO

值得切换。


-dp


" Steve Jorgensen" <无**** @ nospam.nospam>在消息中写道

新闻:嗯******************************** @ 4ax.com ...
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...ADoxDDBOBO that
is worth switching for.

-dp

"Steve Jorgensen" <no****@nospam.nospam> wrote in message
news:um********************************@4ax.com...
这是我的规则:

在MS Access(任何版本)中,使用DAO除外,直到你有特定的
/> ADO有用的情况。在一个
应用程序中混合/匹配两个库是可以的,但Access会强制你使用一些DAO(除非
你使用ADP我不推荐),所以将DAO
默认为更加一致。

在MS Access之外的任何VB / VBA中,使用ADO除外/直到你有一个特定的案例,其中DAO将是有用的。在ADO中仍然存在一些MDB数据库维护操作。

2005年4月11日星期一14:20:14 GMT,Susan Bricker< sl ***** @ verizon.net>
写道:
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*****@verizon.net>
wrote:


嗨。我是亲戚新手谁被要求为狗竞赛组织创建一个数据库。我创建了数据库(供我使用)只是为了有趣地组织练习狗服从比赛
另一个组织这些有趣的项目,我觉得足够舒服以确定数据库以便管理工作我部门的软件发布(我是美国主要银行的程序员)。我是在自己的时间做到这一点并且卖了它启动并运行后,我的经理。什么是妙招!!!
我已经处理过的每个数据库项目都比之前的更好,因为我提高了我的VBA和MS / ACCESS技能。为了工作,我在大型机环境中使用汇编程序,PL / TPF和C进行编码(另外还有一些REXX EXEC)。

我讨厌承认它但是,我在VBA中专门使用DA​​O
表格和报告。主要是因为我选择了概念
以及命令和定义,并且只是坚持使用它们。

现在,我有这个付费。项目(狗比赛组织数据库)创建,我认为我应该真正理解DAO与
ADODB,这样我才能在开始新的项目之前聪明地选择。

所以...

有没有我可以阅读的资料,可以清楚地解释何时使用DAO与ADODB?我将开发我的新项目在Access 2003中
(Windows XP)。



如果有人可以在回复帖子中给出简要的解释和建议。 ..那将是伟大的。

提前谢谢你的帮助。

问候,
SueB
sl ***** @ verizon.net

***通过开发人员指南 http:// www。 developersdex.com ***



这篇关于初学者问题:DAO与ADODB的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆