Solved

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

Posted on 2011-03-08
4
611 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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 …
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 …

730 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