By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,864 Members | 1,112 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,864 IT Pros & Developers. It's quick & easy.

A97 error 3356 reported when trying to compact database...

P: n/a
In Access 97, I run the following command...

DBEngine.CompactDatabase FullPathNfilename, "c:\MyDir\tocodata.sys",

Error 3356 "You attempted to open a dtaabase that is already
opened exclusively by user "abc" on machine "xyz". Try again
when the database is available."

How is it then that clicking Tools, Database Utilities, Compact
Database invokes an automatic compact (without warning and
no option to abort) that succeeds on the same (already open)
database? How can I code that action to occur?
Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.