Compact on Close db1

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

Guest

I was using the compact on close option on my FE, but access keeps removing
the origional FE and replacing it with a copy database called db1.

Any reason this is happening?
 
db1 is the default name that Access creates. Actually a compact rewrites the
data into a new empty database named db1.mdb. It then checks it for errors
and finding none will delete the original and rename db1 to the orignal's
name. Something is interupting the process. I suggest you carefully back up
your database (several copies) and manually compact to make sure it isn't
corrupt.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access Downloads
http://www.datastrat.com
http://www.mvps.org/access
 
hi
on 7/28/2005 6:40 PM PST there was a similar post titled:
compress the database everytime when I quit the database

in there the final solution that was discussed ( and i tested this)

In your Startup Forms , say "MainMenu", in OnOpen Event in this form:
Application.SetOption "Auto Compact", True

this will guarantee to reset the auto compact every time you open a
particular database.

sam
 

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