different mdw files for different databases

A

AccessMan

I maintain several databases that are used by differing users, and I
wouldlike to direct each individual database to its own .mdw file for
security. When I open any one of the databases and try to associate that
database with a new .mdw file by clicking on Tools/Security/Workgroup
Administrator/Join to join a new workgroup, all of my databases end up
getting associated with the new .mdw file, not just the database that was
open. How can associate different databases with different .mdw files?

Thanks!
 
R

Rick Brandt

AccessMan said:
I maintain several databases that are used by differing users, and I
wouldlike to direct each individual database to its own .mdw file for
security. When I open any one of the databases and try to associate
that database with a new .mdw file by clicking on
Tools/Security/Workgroup Administrator/Join to join a new workgroup,
all of my databases end up getting associated with the new .mdw file,
not just the database that was open. How can associate different
databases with different .mdw files?

Thanks!

You can't. There is not a link between an MDW and an MDB. However; there
is (usually) an indirect relationship in that for most MDBs there is exactly
one MDW file that would allow a user to open that MDB. But...the MDB has no
idea what MDW file that is and the MDW file has no idea what MDBs you might
attempt to open while it is in use.

The MDW simply establishes (in the session) who the user account is and what
group(s) he is a member of. Separately, the MDB contains data concerning
what accounts and groups have permissions to its database and other objects.
When the credentials for the current session have appropriate permissions
the file will open, otherwise not.

To do what you want you can create shortcuts to the Access executable that
includes command line parameters specifying which MDB to open and which MDW
file to use. That allows for the use of a specific MDW file without making
it your default MDW. The target of such a shortcut would be constructed
like...

"Path to MSAccess.exe" /wrkgrp "Path to MDW" "Path to MDB"
 

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

Similar Threads

Workgroup Security 9
Changing MDW File (?) 0
Acc2007 Now Looking for MDW File 1
join mdw from vba code 5
Help - All Databases secured 1
MDW file on a network server 7
*.mdw per database 1
Remove Access Security 1

Top