Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 267
  • Last Modified:

Access 97 Work Group -> Access 2003 Work Group

My team is currently working to convert its databases from Access 97 to Access 2003. We have a good handle on converting the databases, however we are fairly stuck on what to do with the work group. We use a work group with Access 97, and we'll probably need to create a new one from scratch for 2003. Unfortunately, the 97 work group was created years ago and the creator is long gone from the company. How does one create an Access 2003 work group from scratch where we can add/remove people, as well as assign specific privileges?

Thanks,
Lisa Specking
0
JCaylor
Asked:
JCaylor
1 Solution
 
GRayLCommented:
VB Editor(Ctl-G) Answer Wizard, type - systemdb property.  In A2k selecting example yielded this:

AllPermissions, Permissions, and SystemDB Properties Example

This example uses the SystemDB, AllPermissions, and Permissions properties to show how users can have different levels of permissions depending on the permissions of the group to which they belong.

Sub AllPermissionsX()

    ' Ensure that the Microsoft Jet workgroup information
    ' file is available.
    DBEngine.SystemDB = "system.mdw"

    Dim dbsNorthwind As Database
    Dim ctrLoop As Container

    Set dbsNorthwind = OpenDatabase("Northwind.mdb")

    ' Enumerate Containers collection and display the current
    ' user and the permissions set for that user.
    For Each ctrLoop In dbsNorthwind.Containers
        With ctrLoop
            Debug.Print "Container: " & .Name
            Debug.Print "User: " & .UserName
            Debug.Print "  Permissions: " & .Permissions
            Debug.Print "  AllPermissions: " & _
                .AllPermissions
        End With
    Next ctrLoop

    dbsNorthwind.Close

End Sub

hope this is of some help.

Ray
0
 
Scott McDaniel (Microsoft Access MVP - EE MVE )Infotrakker SoftwareCommented:
You can create a workgroup by clicking Tools - Security - Workgroup Administrator. From here, you can click the Create button to build a new workgroup. Note that doing this only builds the workgroup, but doesn't necessarily Join you to that workgroup ...

As far as adding users, permissions, etc, your best bet is to read the MS User Level Security FAQ to get a good handle on how to do this:

http://support.microsoft.com/default.aspx?scid=%2Fsupport%2Faccess%2Fcontent%2Fsecfaq.asp

Joan Wild has a good site regarding security:
www.jmwild.com

You can also convert the workgroup file directly, if desired. Open Access 2003, click Tools - Database Utilities - Convert Database, and then select the "Workgroup (.mdw)" option in the Files of Type dropdown (at the bottom of the filepicker).
0
 
JCaylorAuthor Commented:
Joan Wild's site has something that we'll try out on Thursday. I'm crossing my fingers!

Thanks,
Lisa
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now