Interesting. I know that it's an Application property, which you can set
through Application.SetOptions("Auto Compact"): I didn't realize it was also
a database property.
If you're trying to use Automation, take a look at the kludge approach
outlined in section "Bypassing Startup Settings When Opening a Database" in http://support.microsoft.com/kb/147816/ (Don't worry that it says Access 97:
it applies to all versions). The reason I call it a kludge is that it uses
SendKeys, which is seldom recommended in product grade applications.
If you're trying to use Automation, take a look at the kludge approach
outlined in section "Bypassing Startup Settings When Opening a Database"
in http://support.microsoft.com/kb/147816/ (Don't worry that it says
Access 97: it applies to all versions). The reason I call it a kludge is
that it uses SendKeys, which is seldom recommended in product grade
applications.
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.