在同一个mdb中使用ADO和DAO [英] Using ADO and DAO in same mdb

查看:73
本文介绍了在同一个mdb中使用ADO和DAO的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




由于时间紧迫,我开了一个项目,雇用了两个Access开发人员

。问题,我使用DAO其他开发人员

使用ADO。我相信我们可以首先使用DAO

引用然后再使用ADO,如果他完全符合所有ADO

声明的条件,则可以同时使用ADO和DAO。这是正确的吗?


任何评论都是适用的。


干杯,

Barry
www.witstoronto.ca

解决方案

Per Barry Edmund Wright:


>我相信我们可以通过首先放置DAO
参考来同时使用ADO和DAO然后是ADO,如果他完全符合所有ADO
声明。它是否正确?



Dunno,但我的经验是,如果我符合所有

引用(DAO和ADO),那就没问题了。

-

PeteCresswell


是,Access默认为参考列表中显示的第一个。

因此Access将默认为ti DAO。你是对的,在这种情况下,所有ADO必须是完全合格的
。但是你应该遵循Pete的建议

并同时获得DAO代码和ADO代码。


PC数据表

提供客户访问,Excel和Word帮助的资源

应用程序
re ****** @ pcdatasheet.com



" Barry Edmund Wright" < bw ************** @ sympatico.cawrote in message

news:11 **************** *****@i13g2000prf.googlegro ups.com ...





我开始了一个项目由于时间紧迫,聘请了两名Access开发人员的公司

。问题,我使用DAO其他开发人员

使用ADO。我相信我们可以首先使用DAO

引用然后再使用ADO,如果他完全符合所有ADO

声明的条件,则可以同时使用ADO和DAO。这是正确的吗?


任何评论都是适用的。


干杯,

Barry
www.witstoronto.ca



感谢您的评论。


7月29日上午11:05,Steve <所以... @ private.emailaddresswrote:


是的,Access默认为参考列表中显示的第一个。

所以Access将默认ti DAO。你是对的,在这种情况下,所有ADO必须是完全合格的
。但是你应该遵循Pete的建议

并同时获得DAO代码和ADO代码。


PC数据表

提供客户访问,Excel和Word帮助的资源

应用程序

resou ... @ pcdatasheet.com


" Barry Edmund Wright < bwright_msacc ... @ sympatico.cawrote in messagenews:11 ********************* @ i13g2000prf.go oglegroups.com ...
< blockquote class =post_quotes>
hi,


我与一家雇用两名Access开发人员的公司启动了一个项目
$由于时间紧迫,b $ b。问题,我使用DAO其他开发人员

使用ADO。我相信我们可以首先使用DAO

引用然后再使用ADO,如果他完全符合所有ADO

声明的条件,则可以同时使用ADO和DAO。它是否正确?


任何评论都是相关的。


干杯,

巴里
www.witstoronto.ca- 隐藏引用的文字 -



- 显示引用的文字 -



hi,

I started a project with a company who hired two Access developers
because of the tight timeline. Problem, I use DAO the other developer
uses ADO. I believe we can use both ADO and DAO by putting the DAO
reference first and then the ADO if he fully qualifies all the ADO
declarations. Is this correct?

Any comments appreaciated.

Cheers,
Barry
www.witstoronto.ca

解决方案

Per Barry Edmund Wright:

>I believe we can use both ADO and DAO by putting the DAO
reference first and then the ADO if he fully qualifies all the ADO
declarations. Is this correct?

Dunno, but my experience has been that if I qualify all
references (both DAO and ADO) there''s no problem.
--
PeteCresswell


Yes, Access defaults to the first one that appears in the References list.
So Access will default ti DAO. And you are correct that all ADO must be
fully qualified in this case. You should however follow Pete''s suggestion
and qualify both DAO code and ADO code.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
re******@pcdatasheet.com



"Barry Edmund Wright" <bw**************@sympatico.cawrote in message
news:11*********************@i13g2000prf.googlegro ups.com...

hi,

I started a project with a company who hired two Access developers
because of the tight timeline. Problem, I use DAO the other developer
uses ADO. I believe we can use both ADO and DAO by putting the DAO
reference first and then the ADO if he fully qualifies all the ADO
declarations. Is this correct?

Any comments appreaciated.

Cheers,
Barry
www.witstoronto.ca



Thanks for the remarks.

On Jul 29, 11:05 am, "Steve" <So...@private.emailaddresswrote:

Yes, Access defaults to the first one that appears in the References list.
So Access will default ti DAO. And you are correct that all ADO must be
fully qualified in this case. You should however follow Pete''s suggestion
and qualify both DAO code and ADO code.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
resou...@pcdatasheet.com

"Barry Edmund Wright" <bwright_msacc...@sympatico.cawrote in messagenews:11*********************@i13g2000prf.go oglegroups.com...

hi,

I started a project with a company who hired two Access developers
because of the tight timeline. Problem, I use DAO the other developer
uses ADO. I believe we can use both ADO and DAO by putting the DAO
reference first and then the ADO if he fully qualifies all the ADO
declarations. Is this correct?

Any comments appreaciated.

Cheers,
Barry
www.witstoronto.ca- Hide quoted text -


- Show quoted text -



这篇关于在同一个mdb中使用ADO和DAO的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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