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
Solved

Changing the system.mdw path

Posted on 1998-09-23
6
474 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: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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article is a continuation or rather an extension from Cascading Combos (http://www.experts-exchange.com/A_5949.html) and builds on examples developed in detail there. It should be understandable alone, but I recommend reading the previous artic…
In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

856 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