Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Security - 2 Applications/2 mdws

Status
Not open for further replies.

PurpleUnicorn

Programmer
Mar 16, 2001
79
US

I have 2 Access applications. The data resides on the server and the applications reside on the local user pcs. If I implement security – separate workgroup files for each mdb (actually mde), do I need to have a copy of the mdw on each pc? Can it reside on the server? Is there a better way to do this?

It seems that there is no way around using shortcuts with multiple workgroup files (my client does not use shortcuts currently) - is this correct?

Thanks in advance
 
Answers:

1. Yes, you can have the MDW on a networked server. There are advantages and disadvantages to this. Advantage: only one copy of the MDW to update and maintain. Disadvantage: slower performance from user's perspective, due to network traffic.

2. Shortcuts can be created to allow for networked MDW's. Let's say you have the following file locations:

Access executable: C:\Program Files\Microsoft Office\Office10\msaccess.exe

Database: C:\My databases\db1\db1.mdb

MDW on a server: M:\My databases\db1\system.mdw

MDW username: mylogin1

Then you should create a shortcut with the following form of target:

[Access locataion] [Database location] /wrkgrp [MDW location] /user [Username]

i.e.

"C:\Program Files\Microsoft Office\Office10\msaccess.exe" "C:\My databases\db1\db1.mdb" /wrkgrp "M:\My databases\db1\system.mdw" /user mylogin1

Note: the quotation marks are required.

Hope this helps.

[pc2]
 

Thank you so much for the fast reply. I thought performance would be affected if I put the mdw on the server.

If I have 2 mdbs and 2 mdws do I have to use shortcuts? Is there any other way to associate the mdw files with the appropriate mdb without a shortcut. I know this can be done if there is only one workfile for all mdbs.

Thanks again.
 
You could use a batch file instead of a shortcut, but it's the same thing. Your client will have to get used to the change.

---
Jeremy Wallace
METRIX Project Coordinator
Fund for the City of New York
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top