compact/repair on Open?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I wish to compact the database the moment it is launched. I tried below 2
options
a) Through the code level by using the accDefaultDatabase
b) Call the /compact command in a bat file before executing the access
database.

Is there any better solution available?
 
Why not use the default Compact On Close? It leaves you with a compacted
database for use, which is what you are aiming by attempting Compact On Open.
 

Ask a Question

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.

Ask a Question

Back
Top