Redian新闻
>
Re: How to connect to Access 2000 database with database password in ODBC
avatar
Re: How to connect to Access 2000 database with database password in ODBC# Database - 数据库
o*z
1
maybe the database password is for MS Access only, not for ODBC

the
in
avatar
s*y
2
Thanks. I think you are right the database password is for MS Access only. But
do you know whether there is an ODBC API which is compatible with this
protocol?

ODBC
like
a

【在 o***z 的大作中提到】
: maybe the database password is for MS Access only, not for ODBC
:
: the
: in

avatar
o*z
3
you may need to use something designed for MS like MFC DAO
see MS KB Q270663

But

【在 s****y 的大作中提到】
: Thanks. I think you are right the database password is for MS Access only. But
: do you know whether there is an ODBC API which is compatible with this
: protocol?
:
: ODBC
: like
: a

avatar
s*y
4
Thanks. I found it is actually very easy. Just leave out the user ID.
For example
CString CSecuredRSSet::GetDefaultConnect()
{
return _T("ODBC;DSN=Secure;PWD=Lamont");
}
It works fine. Thank you ottoz.

【在 o***z 的大作中提到】
: you may need to use something designed for MS like MFC DAO
: see MS KB Q270663
:
: But

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。