Access - creates duplicate file

G

Guest

With a database stored on a network drive, Access 2007 creates a copy each
time I close it, and names it database, database1, database2, etc. This does
not happen when I have the database stored on my hard drive. How can I stop
this from happening?
 
G

Guest

Make sure you have the appropriate rights on the networkdrive. Read/Write.
That should do the trick.
 
J

John W. Vinson

With a database stored on a network drive, Access 2007 creates a copy each
time I close it, and names it database, database1, database2, etc. This does
not happen when I have the database stored on my hard drive. How can I stop
this from happening?

My guess is that you have Compact on Close set; when Access compacts a
database it makes a copy (usually named db1), copies the existing database
into it, deletes the old database and renames db1. It sounds like this process
is getting blocked. So... Turn off Compact on CLose for one thing...!

And then check the user's permissions to that network folder. It's simplest to
give the user full Read, Write, Create and Delete (but not Administer)
privileges to the folder. Access creates a .ldb locking file when the first
user opens a database (frontend or backend), and deletes it when the last user
exits.


John W. Vinson [MVP]
 
G

Guest

Thank you so much for your help - it was the "compact on close" setting. Once
I changed it, the problem went away.
 

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