Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Changing the system.mdw path

Posted on 1998-09-23
6
Medium Priority
?
497 Views
Last Modified: 2012-05-07
I am logging onto a DB that is on the server and so is the system.mdw file. I don't have any problems using the workgrp administrator utility or a command-line option to get to the right system.mdw file. However, once i use the server's file, when I use Access on a local DB I am still using the server's system.mdw file. How can I automatically restore the path to the local system.mdw file? Preferrably, this would happen automatically once I close the connection to the shared DB on the server.
0
Comment
Question by:englm
  • 3
  • 3
6 Comments
 
LVL 7

Expert Comment

by:Victor Spiridonov
ID: 1963292
Default system.mdw file location is stored in the registry. If you want to use a different file, you should specify it on the command line when you start access. You should create a shortcut to a local db and use it open local database.
access local.mdb /wrkgrp localsystem.mdw
0
 

Author Comment

by:englm
ID: 1963293
Spiridonov,

This is not a user-friendly option. I am deploying a DB to a server for multiuser access. I would want the individual users to have a shortcut to the shared DB on the server where I can specifiy via command line option to use the system.mdw on the server. It is not feasible to have a shortcut to Local DBs on the client PCs - they may have many local DB on their PCs and can't have shortcuts for all of them. I want the default system.mdw to be used for all local (on user PC) DBs. Besides, If someone launches Access from the Office toolbar or start menu I want the default system.mdw to be used.


0
 
LVL 7

Accepted Solution

by:
Victor Spiridonov earned 150 total points
ID: 1963294
Then do it the other way around. Change the setting in the registry to point to local system.mdw and use shortcut with command line option to point to the server located DB.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:englm
ID: 1963295
Please ignore my last comments. The shortcut to my shared database using a command-line option /wrkgrp works fine, and it defaults back to the local system.mdw.

There is another issue however - how do I enforce using the system.mdw on the server if a user starts up Access first and selects a DB on server? The open file dialogue does not provide options for selecting a different workgroup file.
0
 
LVL 7

Expert Comment

by:Victor Spiridonov
ID: 1963296
This is not possible. There is no way to tell Access to use different system.mdw -only from command line.
0
 

Author Comment

by:englm
ID: 1963297
Spridonov,

If this is the case, Access has a severe limitation in the security area in terms of flexibility.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
In a use case, a user needs to close an opened report by simply pressing the Escape (Esc) key. This can be done by adding macro code in Report_KeyPress or Report_KeyDown event.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question