|
-
Sep 2nd, 2000, 08:48 AM
#1
Thread Starter
Lively Member
Hi chaps....
I hope this is a quick solution...
Basically I'm trying to write a routine to compact and repair an Access 97 database. My routine works nicely until I add a database "password" on the database in question. I keep getting "invalid password" I know that the password is correct I believe it is my code...as follows...
' Do the compacting via DBEngine
DBEngine.CompactDatabase Location, strTempFile, dbLangGeneral, dbVersion30, ";pwd = ww"
Location and strTempFile are string values i.e "c:\temp\test.mdb"
"ww"s the actual password.
Any ideas anybody!!
Regards
Gerard
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|