Solved

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

Posted on 2011-03-08
4
642 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
[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
  • 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

707 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