Solved

Can't update records when database is opened by more than one person

Posted on 2013-01-30
14
318 Views
Last Modified: 2013-01-31
I have a database that is on the shared drive that is sometimes opened by more than one person. From time to time, I need to make updates to some of the records in the database, but am unable to do it unless the other person or person(s) exit out of it. Is there a way for me to be able to make the updates even if it is being used by someone else?
0
Comment
Question by:geeta_m9
  • 8
  • 4
  • 2
14 Comments
 
LVL 84
ID: 38837265
You must be sure that the database is opened in Shared mode - that's under Access Options - Client Settings - Default Open Mode (set that to Shared).

You must also ensure that all users have at least Modify permissions on the folder hosting that database. If not, the first user in could lock the database. Note these are Windows permissions - you'll have to have Admin permissions to on the machine  to handle those.
0
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 38837273
I've seen this done, but I don't recommend it:

Essentially oyu have one access DB that holds the data (like a SQL database normally would).

From there you seperate out the UI into a 2nd access file, and link all your tables to the first access DB.

When you open up the the access-UI file, only that gets locked and multiple users can update records.
0
 

Author Comment

by:geeta_m9
ID: 38837278
How can I tell whether a user has modify permissions on the folder?
0
 

Author Comment

by:geeta_m9
ID: 38837289
I checked and the default mode for the database is already in shared mode.
0
 
LVL 84
ID: 38837300
I've seen this done, but I don't recommend it:
Why? This is the preferred method for proper multiuser user of a database. Users should never share the same FE (i.e. the UI portion).

How can I tell whether a user has modify permissions on the folder?
You'd have to review the Permissions for that folder, and determine if the user has implicit or explicit permissions. Explicit permissions would be permissions assigned directly to the User. Implicit permissions would be permissions assigned to the user through their association with a group, for example.

And again, you will need Admin permissions to determine this. If you are a Standard user, you won't be able to do this - you'd have to get someone with an Admin login to handle this for you.
0
 

Author Comment

by:geeta_m9
ID: 38837302
I also checked the folder permissions and it appears that all the staff have "Full Control". I presume that would also include Modify permissions?
0
 

Author Comment

by:geeta_m9
ID: 38837313
The permissions for the staff appear to be implicit, i.e., group permission.
0
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 38837327
Is the file on a share?  If so there's a seperate set of share permissions that you also need to check.

(EG:  You could have full control for the directory but read only in the share).
0
 

Author Comment

by:geeta_m9
ID: 38837354
How do I check that?
0
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 300 total points
ID: 38837488
Does the user running the database have it open for DESIGN work - that is, are they modifying forms/reports/queries, etc, or are they adding new objects (forms. reports etc)?

If so, then that automatically invokes an Exclusive lock.
0
 

Author Comment

by:geeta_m9
ID: 38837543
No, they are just updating records.
0
 

Author Comment

by:geeta_m9
ID: 38840695
The thing that got me is that if the rest of the staff didn't have write permissions, I am wondering that they should not even be able to open the file, since Access needs to open or write to the .accdb locking file when a user opens an Access database.

LMSConsulting, you could be right about the Exclusive lock being invoked. I found out that whenever one of the staff was updating a record, he would make the edit and then try to close the form. When he did that, I think Access must have assumed that he was trying to go into "Design Mode". Instead, I told him that after making the update, to just skip to the next record before trying to close the form. That seemed to do the trick.
0
 

Author Closing Comment

by:geeta_m9
ID: 38840699
Thanks.
0
 
LVL 84
ID: 38840871
I am wondering that they should not even be able to open the file, since Access needs to open or write to the .accdb locking file when a user opens an Access database.
If the user does not have sufficient permissions to write to the folder hosting thee database file, then Access would write the lockfile somewhere else (like on the user's workstation, perhaps).
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PaperPort has a feature called the "Send To Bar". It provides a convenient, drag-and-drop interface for using other installed software, such as Microsoft Office. However, this article shows that the latest Office 2016 apps (installed with an Office …
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now