O
Olena
I am trying to compact a remote password protected db (MS Access97 or 2000).
My code is:
DBEngine.CompactDatabase strBackEndPath & strBackEndName, strBackEndPath &
"CompTemp.mdb", DB_LANG_GENERAL & ";pwd = password"
I also have tried:
DBEngine.CompactDatabase strBackEndPath & strBackEndName, strBackEndPath &
"CompTemp.mdb", DB_LANG_GENERAL,,";pwd = password"
I am getting an Error 3031 "not a valid password"
When I am compacting a not password-protected db it works fine.
What it is wrong in my code?
Please help!
My code is:
DBEngine.CompactDatabase strBackEndPath & strBackEndName, strBackEndPath &
"CompTemp.mdb", DB_LANG_GENERAL & ";pwd = password"
I also have tried:
DBEngine.CompactDatabase strBackEndPath & strBackEndName, strBackEndPath &
"CompTemp.mdb", DB_LANG_GENERAL,,";pwd = password"
I am getting an Error 3031 "not a valid password"
When I am compacting a not password-protected db it works fine.
What it is wrong in my code?
Please help!