Results 1 to 3 of 3

Thread: Multiuser problem with MS Access

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Posts
    104
    I'm new to the multi-user arena in MS Access(done mainly desktop apps in the past).

    The front end is VB6 accessing the database via ADO 2.1. The database is on a Netware server.

    The option is selected to open the db in shared mode. The db is password protected. There is a lock file in the database directory and it has an entry for the Admin user.

    From what I've read on MSDN there has to be workgroups or user groups set up or something like that but it doesn't go through the process of setting them up. What happens now is one user will be in the app and another will try to open it from their workstation. The one trying to open it gets an error stating that the file is already in use.

    If anyone could help with the user group set up and how that works as well as the lock file information I would be appreciative.

    Thanks...

  2. #2
    Frenzied Member
    Join Date
    Aug 1999
    Location
    Santa Clara, Ca , 95058
    Posts
    1,105
    What does your connection look like?

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Jul 2000
    Posts
    104
    JHausmann,

    This is what it looks like. sPath is obtained from an ini file.

    Code:
    Set connProgram = New ADODB.Connection
        
    connProgram.Mode = adModeShareDenyNone
    connProgram.Open "Provider=Microsoft.Jet.OLEDB.4.0;" & _
                     "Data Source=" & sPath & _
                     ";Jet OLEDB:Database Password=pwd;"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width