Solved

Changing the system.mdw path

Posted on 1998-09-23
6
480 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 7

Expert Comment

by: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:
spiridonov earned 50 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
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!

 

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: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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …

732 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