Re: How to connect to Access 2000 database with database password in ODBC
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
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
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
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