Solved

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

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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 …

706 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now