P
Phill
I have just convert an Access 97 database to Access
2000. I have a line of code that compacted another
database (that I also converted to Access 2000) into a
new database for distribution. The database being
compacted does not use Access security, just the standard
Admin. The database making the compact request does use
Access security. The security file is specified in the
shortcut, I don't join another workgroup file. This is
the code: DBEngine.CompactDatabase
strExternalDB, strAttachDB, , dbEncrypt
It used to work in the Access 97 world, but now I get a
message saying I don't have permission to do so. Prior
to the compact, I open the database and export some
tables. This works fine, not permission violations.
What is the difference? What's going on here? Thanks
for you help.
2000. I have a line of code that compacted another
database (that I also converted to Access 2000) into a
new database for distribution. The database being
compacted does not use Access security, just the standard
Admin. The database making the compact request does use
Access security. The security file is specified in the
shortcut, I don't join another workgroup file. This is
the code: DBEngine.CompactDatabase
strExternalDB, strAttachDB, , dbEncrypt
It used to work in the Access 97 world, but now I get a
message saying I don't have permission to do so. Prior
to the compact, I open the database and export some
tables. This works fine, not permission violations.
What is the difference? What's going on here? Thanks
for you help.