Hi, Kate.
I have a couple of backups from crashes in the same directory, named db1.mdb
etc - but two are too small to be any good.
db1.mdb, et cetera, is Access's default name for a _new_ database. One will
typically see a list of db1.mdb, db2.mdb, et cetera, in a directory of a
database that is set to automatically compact on close. Access tries to
compact the database, but somebody else has the database open, and the
compaction fails, so the db1.mdb file cannot be renamed to the original name
of the database and remains in the directory. The next time this happens,
db2.mdb is created, and so on.
Access 2002 and 2003 will create a <DBName>_Backup.MDB as a backup when the
database crashes. The User-level Security Wizard creates the <DBName>.BAK
file.
Each of these file names is unique to the process that automatically created
the file. Obviously, any user could also manually create these names, too,
but if you know that neither you nor your colleague did this, then you can
easily identify which Access process did.
I am convinced that this whole thing
is related to the macro security checks recently introduced
The word "security" is the only thing that "Macro Security" and "User-level
Security" have in common. These are apples and oranges. Macro security is
a feature introduced in Access 2003 that allows Access to check whether the
database file has been digitally signed by the creator (to help guarantee
against viruses and unauthorized tampering with the file before it arrives
at its intended destination). If conditions aren't met, then Access won't
open the file. User-level security is a feature that allows authorized
users to open/run the database and use individual objects in the database
file. Unauthorized users will not be able to open the database.
Each of these security measures gives the user a different error message
when refusing to open the database, so the user can easily identify which
process (or "type of security") is blocking the opening of the database.
I've tried doing this on the former .BAK db > but get a message: "The
Security Wizard cannot be run on a project when the Visual Basic Environment
(VBE) project password has been set. You must first unlock the VBE
project."
Whoever applied the user-level security to the database removed the password
restriction to enable the Security Wizard, or manually circumvented the
restriction and didn't use the wizard, or there was no VBA password
restriction at the time that user-level security was applied.
I set up a digital certificate yesterday which removed the stupid dialog box
re: running macros but have rolled back to 2002 today and this no longer
seems to apply...?
Correct. Access 2003 is the first version of Access that can check for a
digital certificate and can have a digital certificate assigned to a
database file to guarantee authenticity. Databases run in earlier versions
of Access cannot be protected in this manner.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)