Access 2003 Command-line /WRKGRP Not Working

C

cosmic debris

Even though I have created a workgroup for each of my databases, trying
to use the command-line /WRKGRP option does not seem to work. Whichever
workgroup I use the "Join..." button for is not replaced when I call up
another database using the following command structure:
"[path_to]\MSACCESS.EXE" "[path_to]\mydb.mdb" /WRKGRP "[path_to]mydb.mdw"

The only way I can change the workgroup is through the menu. That is NOT
the solution I need as users ARE NOT going to do this each time they
change to another database. The reason I need seperate workgroups is
that the same staff members need different access rights in each db. For
example, the clerical staff need to be able to enter/delete/update/etc.
data in the Mail Log program but should NOT be able to do so in the
other databases.

Am I missing something here or is this feature broken in Access2003??


Thanks.
 
A

Allen Browne

What you are striving for is all doable.

Double-check that all the paths are valid, and that the user has all the
permissions needed to use these 3 files (access, the workgroup, and the
mdw.)
 
R

Rick Brandt

cosmic said:
Even though I have created a workgroup for each of my databases,
trying to use the command-line /WRKGRP option does not seem to work.
Whichever workgroup I use the "Join..." button for is not replaced
when I call up another database using the following command structure:
"[path_to]\MSACCESS.EXE" "[path_to]\mydb.mdb" /WRKGRP
"[path_to]mydb.mdw"
The only way I can change the workgroup is through the menu. That is
NOT the solution I need as users ARE NOT going to do this each time
they change to another database. The reason I need seperate
workgroups is that the same staff members need different access
rights in each db. For example, the clerical staff need to be able to
enter/delete/update/etc. data in the Mail Log program but should NOT
be able to do so in the other databases.

Am I missing something here or is this feature broken in Access2003??

How are you determining that it is not working? Many assume that the
workgroup mentioned in the menu is supposed to change, but that always shows
your default workgroup, not the one you are currently using.
 
C

cosmic debris

Rick said:
How are you determining that it is not working? Many assume that the
workgroup mentioned in the menu is supposed to change, but that always shows
your default workgroup, not the one you are currently using.
One way I found out that the workgroup didn't change was that I
inadvertantly deleted members of the workgroup for the database which I
use 90% of the time.

To illustrate this better, we have a PSP2003 and MailLog2003. Each is in
a unique folder and has its own workgroup file (as staff have different
access right needs). Even though I used the command-line method to open
the MailLog (making sure that all of the paths are correct and as
Administrator I do have all rights).. Once I was logged into the MailLog
db, I added a user and set her access rights (she married and wanter her
'new' anme for the user name). While there, I deleted several staff who
did not use this database. Then, I exited the database.

I asked the 'new' user to log into the MailLog db and she could not. I
re-logged into the MailLog and used the Workgroup manager to "Join..."
the MailLog workgroup manually. Then, I checked and found that she did
nit have an account on that db. I then exited that db and entered the
PSP2003 db and found her new id was in the PSP2003 db's workgoup and the
users I thought I had deleted from the MailLog were no longer present in
the PSP2003 workgroup.

Oh well, I guess I'll just have to manually verify that I have "Joined"
the proper workgroup when I need to make account changes. At work, we
are switching from Novell to Microsoft LAN software and may move up to
2007. So, maybe if these issues are not due to my misunderstanding or
incorrectly setting stuff, they will be resolved later on.

Thanks.
 
A

Allen Browne

You say each db has its own workgroup.
You are not using the same name for the MDW as for the MDB are you?

If you do, there's a peculiar problem that arises. Access tries to create an
LDB for the MDB, and also an LDB for the MDW. If both have the same name, it
can't succeed in doing that.
 
T

T Cosmas

Allen Browne said:
You say each db has its own workgroup.
You are not using the same name for the MDW as for the MDB are you?

If you do, there's a peculiar problem that arises. Access tries to create an
LDB for the MDB, and also an LDB for the MDW. If both have the same name, it
can't succeed in doing that.

--

Apparently, it must have been the fact that I tried using the same name for
the mdb & mdw! I added Users (MailLogUsers2003.mdw & PspdbUsers2003.mdw) and
now the account listings appear to be showing the correct workgroups!!

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top