Did you convert to the mdb or the accdb format in 2007? If the latter,
security is 'no more' in accdb. It is still supported in the mdb format.
If you're using the mdb format, you can change the workgroup via
Database Tools...Administer...Users and Permissions
or from code
Docmd.RunCommand acCmdWorkgroupAdministrator
The preferred method though, is to create a desktop shortcut that specifies
the workgroup file to
use
"path to 2007msaccess.exe" "path to mdb" /wrkgrp "path to secure.mdw"

Signature
Joan Wild
Microsoft Access MVP
> After Converting a database file from Access 2000 to Access 2007 I can not
> find a way to join the workgroup file originally used for the database. It
> automatically uses the default system workgroup file. How can I join the
> correct workgroup file.
ACCESS2007 - 11 Feb 2007 04:04 GMT
I am using the .mdb format.
I did get this to work by creating a form with the code below. however, when
I am trying to assign the workgroup in the properties of the shortcut it will
not allow me the length of charecters I need to complete the path of the
workgroup file.
How can I get the shortcut to work while assigning the shortcut to the
workgroup file?
Thanks for your help.
> Did you convert to the mdb or the accdb format in 2007? If the latter,
> security is 'no more' in accdb. It is still supported in the mdb format.
[quoted text clipped - 13 lines]
> > automatically uses the default system workgroup file. How can I join the
> > correct workgroup file.
Joan Wild - 11 Feb 2007 15:12 GMT
That's a limitation of a shortcut. Can you move either/both the mdb and the
mdw higher in the folder structure and shorten their paths?

Signature
Joan Wild
Microsoft Access MVP
>I am using the .mdb format.
> I did get this to work by creating a form with the code below. however,
[quoted text clipped - 30 lines]
>> > the
>> > correct workgroup file.
ACCESS2007 - 12 Feb 2007 02:39 GMT
I shortened the folder name and that allowed me enough character spaces.
Thanks for your help.
> That's a limitation of a shortcut. Can you move either/both the mdb and the
> mdw higher in the folder structure and shorten their paths?
[quoted text clipped - 33 lines]
> >> > the
> >> > correct workgroup file.
Send Object Command - Two attachments - 20 Apr 2007 17:26 GMT
This info helped me out GREATLY!!
thanks.
> Did you convert to the mdb or the accdb format in 2007? If the latter,
> security is 'no more' in accdb. It is still supported in the mdb format.
[quoted text clipped - 13 lines]
> > automatically uses the default system workgroup file. How can I join the
> > correct workgroup file.