Solved

Attaching existing .mdw file in MS Access 2007 for mdb created in Access 2003

Posted on 2011-03-08
4
591 Views
Last Modified: 2012-05-11
I have an existing MSA 2003 which I need to attach existing .mdw security.  We no longer have MSA 2003 and cannot have it installed due to company policy.  I am not permitted to create a new security file and have to use the existing company .mdw as a matter of Company Policy.

I have investigated MSA 2007 and tried:
Database Tools, Users and Permissions, User-Level Security Wizzard, but it only allows me to 'Create a new workgroup information file'.

I know if I had MSA 2003 installed then I could attach the .mdw and all would be fine, but as I have mentioned earlier, the company will not permit any other versions to be installed.

Does anyone know how this is done?
0
Comment
Question by:Mitchelton
  • 2
4 Comments
 
LVL 75
ID: 35077876
You need to get a copy of Wrkgadm.exe.  I can't upload it here because technically, it's copyrighted by Microsoft and comes with a licensed version of Access.  So ... you need to get to some ... A2003 system and pull a copy.

I guess another way might be to use the Command via a desktop shortcut for users ... with this syntax:

"Full path to msaccess.exe" "full path to database including name" /wrkgrp "Full path to Workgroup file including name" /usr YourUserName /pwd YourPassword

mx
0
 
LVL 77

Accepted Solution

by:
peter57r earned 500 total points
ID: 35080309
In any mdb file, go to the VBA code window and in the immediate pane do..

Docmd.Runcommand accmdworkgroupadministrator

you can then join the file from there.
0
 

Author Closing Comment

by:Mitchelton
ID: 35113999
The ideal solution for the problem.  I really didn't think it would work as the Office environment is a strict 2007 one and has never had any previous Office environment installed - but it did and gave the exact result
0
 
LVL 75
ID: 35114506
I'm a bit confused. You seemed to imply that you did not have the Workgroup Administrator program ...?
If so, then the DoCmd would not do anything ...

In addition, the Command line I supplied would connect your mdb to the specified MDW ...

mx
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

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…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

825 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