As I recall, automatic C&R is performed only when the last user exits the
database, so the problems can't be the result of several users doing C&R at
the same time. The C&R process can fail for any number of reasons, but the
db1 etc. file often functions well enough as a substitute for the original
that it may seem the only difference is the name.
In our office we have our Access database saved on a server. Four people
use
this database. Each person has a shortcut on their desktop to open the
database. No-one tells the database to backup--but every once in a while
it
backs up on its own and names the backups db1.mdb, db2.mdb etc. How do we
get this automatic backup to stop?
When an automatic backup is made, new shortcuts to the newest backup need
to
be made.
WARNING: I'm NOT an MVP so "the regulars" here have probably
forgotten more about Access than I know at this point. But...
I've looked at all the responses and it seems to me that everyone has
overlooked something. The OP said they're changing the shortcuts to
the database (in order to use it, add records etc I would assume) to
this new db1 or db2 or whatever.
Number 1, that's not what a "backup" is for. You don't use the
backup. It's for use only if there's a problem with the original
file. The original file (with whatever name it had originally) should
be the datafile you're users are using, adding to, modifying, etc.
So, to me, it appears you have "incremental" backups (because each
time someone triggers the automatic C & R, it renames it db##.mdb and
everyone switches to that one via their shortcuts) that you're then
switching to and using as your main datafile. Because the compact and
repair operation couldn't do it's work (because another user had the
same file open) isn't this db#.mdb suspect as far as accuracy? After
all, the reason the C & R couldn't do it's job is because someone else
is using the database, perhaps adding or modifying a record--so
wouldn't that mean the recently added, changed data might not be
included in the new db##.mdb?
Me thinks the original poster may have more problems than just the
naming and shortcuts to the file they're using. Perhaps?
ron