Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2011-03-08
4
Medium Priority
?
694 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Instead of error trapping or hard-coding for non-updateable fields when using QODBC, let VBA automatically disable them when forms open. This way, users can view but not change the data. Part 1 explained how to use schema tables to do this. Part 2 h…
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 …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

604 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