Compact & Repair ?

M

Mick

Hi,

I have having an issue whereby I am compacting and
repairing my db (named XYZ) and it is automatically
creating a new db (named db1) in the same directory that
XYZ sits? The new db seems to be exactly the same as XYZ
except it is much larger (almost double at 52mb where XYZ
in 28mb). The structure seems to be identical? XYZ
itself seems to be fine but i do not understand why the
duplicate is created?

Any assistance is greatly appreciated.

Regards

Mick
 
V

Van T. Dinh

In a successful Compact and Repair, Access compact your database to a
temporary database "dbX.mdb" (X is the next available number if there are
files with names "db1.mdb", "db2.mdb", ...). When the Repair & Compacting
finishes, Access delete your original file and rename the file "dbX.mdb" to
your original name.

It seems something stopping the full Repair and Compact process near the end
(just before deleting and renaming). Someone reported the same problem
previously but I am not sure whether any solution was offered. Perhaps, you
can search Google for the previous thread.
 
J

Joan Wild

One possibility is if the Windows user doing the compact doesn't have delete
permission in the folder, they can't delete the original mdb.
 
D

Dawn

Mick, I have experienced the same situation as you have
and Van is right on! I have found that if I attempt to
compact and repair on a network drive, the process binds
and quits (and leaves db1 out there in the process). Most
of my database are very small so I copy them to a local
drive, compact and repair, and then move replace the
network copy. I have not yet found a way around this.

Let me know if you do!
 
A

Alfred Polak

Test
Van T. Dinh said:
In a successful Compact and Repair, Access compact your database to a
temporary database "dbX.mdb" (X is the next available number if there are
files with names "db1.mdb", "db2.mdb", ...). When the Repair & Compacting
finishes, Access delete your original file and rename the file "dbX.mdb" to
your original name.

It seems something stopping the full Repair and Compact process near the end
(just before deleting and renaming). Someone reported the same problem
previously but I am not sure whether any solution was offered. Perhaps, you
can search Google for the previous thread.
 

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

Top