Go to Tools > Options... then choose the General tab. Uncheck the box for
Compact on Close. This will turn it off for All databases, but this is a
good thing. Compact on Close does more harm than good. If you really want
a feature like this, you can write one yourself that is much safer and gives
you an automatic backup.
On my website (www.rogersaccesslibrary.com), is a small Access database
sample called "CompactDatabase.mdb" which illustrates how to do this.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.