Captain said:
Hi,
I am creating a new database. I considered copying my existing
database to use as a general framework for the new one because it has
much of what I need already created. My question is - when you copy
a database does it use the same Wrkgadm.exe file as the original?
Thank you
Capt OhNo
You have a couple misconceptions. Wrkgadm.exe is the utility that you can
use to "join" a workgroup file which simply means to make it your default
workgroup, and also to create new workgroup files. It is not in use during
the normal operation of Access and/or an Access application. What you are
referring to is a workgroup file which would be named like AnyName.MDW (the
default being System.MDW).
A workgroup file is always used when operating Access. The specific
workgroup file can be specified as a command line argument when opening
Access or else the user's default workgroup will be used. So which
workgroup file that is used has nothing to do with the MDB file that will be
opened.
An MDB file doesn't concern itself with which workgroup file is in use.
Only that certain groups and users with certain IDs have (or don't have)
permissions to certain objects. In a secured database it is "usually" the
case that there is exactly one workgroup file that contains the groups and
users that the database will recognize, but it is an important distinction
to make as many people assume that there is some sort of "link" between the
MDW and MDB file (there is not). Any number of different MDW files could be
set up with group and/or user accounts that have the same internal IDs and
the database only cares about those IDs.
Basic security lessons aside, if you're asking if (as it pertains to
security) if a copy of a file will behave the same as the original the
answer is yes. In fact the simple act of compacting a database actually
produces a new file that is a copy of the original after which the original
is deleted and the new file renamed. Obviously security would have to be
maintained during this process.