I have a user that created a brand new Access 2010 database, no split...all components of tables, forms and queries are in the single db. It is a multi-user db residing on a corporate network drive with the possibility of 5 concurrent users.
I can create the following simple design that duplicates the problem. It contains a Main form that acts as a switchboard with buttons that open subsequent forms using the simple wizard to open a form in Normal mode. No VB, nothing fancy. The form is opens uses a query as a data source to access a single table. Sounds simple. Here's the problem:
When user #1 opens the database and clicks on one of the buttons, it opens the form correctly. When a subsequent user opens the database and clicks on the button to open the same form, they get a "You do not have exclusive access..." similar to what you would get if you tried to open a form in Design View when other users are in the database.
Here's what we've tried:
1. Users are associated to a security group that has full privileges to the folder. So they can Create, Modify, Delete the .accdb file.
2. If we downgrade the database and save it as an Access 2003 (.mdb) file, it works correctly with multiple users.
3. If I replace the button macro with VB code to perform an identical DoCmd.OpenForm...it works correctly with multiple users (thus proving security authorities are OK).
The Question:
Why do we get a violation when we try to use a Macro to open the form and, in the same database, in the same form I can create a button that opens the same form with Visual Basic and no problems?
The users will continue to use the Access 2003 version until the problem is resolved. I have confidence in this expert community that you will give me some insight and solutions!
Thanks, in advance, for your help!
I can create the following simple design that duplicates the problem. It contains a Main form that acts as a switchboard with buttons that open subsequent forms using the simple wizard to open a form in Normal mode. No VB, nothing fancy. The form is opens uses a query as a data source to access a single table. Sounds simple. Here's the problem:
When user #1 opens the database and clicks on one of the buttons, it opens the form correctly. When a subsequent user opens the database and clicks on the button to open the same form, they get a "You do not have exclusive access..." similar to what you would get if you tried to open a form in Design View when other users are in the database.
Here's what we've tried:
1. Users are associated to a security group that has full privileges to the folder. So they can Create, Modify, Delete the .accdb file.
2. If we downgrade the database and save it as an Access 2003 (.mdb) file, it works correctly with multiple users.
3. If I replace the button macro with VB code to perform an identical DoCmd.OpenForm...it works correctly with multiple users (thus proving security authorities are OK).
The Question:
Why do we get a violation when we try to use a Macro to open the form and, in the same database, in the same form I can create a button that opens the same form with Visual Basic and no problems?
The users will continue to use the Access 2003 version until the problem is resolved. I have confidence in this expert community that you will give me some insight and solutions!
Thanks, in advance, for your help!