How To Resolve Microsoft Access Record Locking Issue During Multi-User Access?

Is your MS Access database showing issues when multiple users accessing the same database simultaneously? 

All of a sudden you notice that your Access Database is locked during multiple users access and you are looking for some best fixes to unlock MS Access Database?

Check out the complete blog as it contains a perfect answer for this specific Access Database issue.

Fix Microsoft Access Issues
Run a database Scan with Stellar Access Database Repair Tool to repair inconsistent Access database. After the scan is complete, the repair process will restore the database to its normal state fixing all the errors.

By clicking the button above and installing Stellar Repair for Access (14.8 MB), I acknowledge that I have read and agree to the End User License Agreement and Privacy Policy of this site.

Practical Scenario:

Hi Experts,

I have a database that needs to be open to multiple users. Currently when it is opened by one user it creates a  Lock File. The main window is a form that allows record searching via the record selector arrows, and auto update entry fields.

How do I allow multiple users? Do I need to eliminate the record selector arrows, or put in a save button?

Microsoft Access Record-Locking Information

Microsoft Access Record-Locking Information

Access database record locking occurs in two environments either in the Microsoft Access Interface or in the ADO Recordset Object. We have already recognized that record locking issue is mostly encountered during network shares but what this record locking issue is exactly?

Well, it’s a mechanism that locks records when one user making changes in the database; then no other user can do anything else at the same time.

How To Fix MS Access Record Locking Information Issue During Multi-User Access?

Record Locking Errors in Microsoft Access applications

In order to set the record locking option in the interface simply goes to the Advanced Tab in the Options dialog box and set the options under the Default Record Locking group box:

From the shown image you can see that there are mainly 3 types of record locking options are available:

  • No Locks

No lock option is best to use when there are very small chances of having more than one user editing the same record. This locking method is also called optimistic locking.


How To Unlock MS Access .mdb or .accdb Database

  • All Records

Through this option, users can lock the entire table while records are being edited. The negative point of this option is that multiple users will be unable to access the database for long periods of time.

  • Edit Record

This option is most commonly used in a multi-user environment. The Edit record option ensures that access locks a record the moment a user starts the editing process and then lock is released when users save the changes. This locking method is called pessimistic locking.

Like many other settings on the Advanced tab of the Options dialog box, the Default Record Locking setting applies to access the application as a whole, and not to the database application which is opened.

So, when the user tries to edit a locked record the following error message popup to their screen.

 access database multiple users locking

Users can either save the changes, copy them to windows clipboard or abandon the changes.

Record Locking Errors in Microsoft Access applications

Record Locking Errors in Microsoft Access applications

Here is the list of errors that comes up to your screen when Access record locking multi-user issue encounters.

Possible Causes Of Microsoft Access Record Locking Information Error:

  • Maybe the database is getting corrupted somehow.
  • The record is locked by a user and any other user trying to modify the record.
  • VBA code has opened a recordset and has a lock on a record.
  • Two or more instances of ms access applications are executing on the same PC.
  • Chances are also that the application is using page record locking and has exceeded the 4k limit.
  • The back-end application resides on a Novell server and the maximum records lock has been exceeded.

How Do You Lock A Form In Access?

How Do You Lock A Form In Access?

MS Access application provides numerous ways to prevent users from inadvertently changing data on their forms. One way is to set control properties called to enable and Locked to prevent data entry.

For example:

Suppose you have created a form that used to make changes to clients’ addresses. The first field control is a lookup field that is used to see the client’s customer number. When you select a number, the client’s name and address automatically appear in the corresponding control. However, if you don’t want that any user will do any changes to the customer name field. You can prevent users from making any changes to the field by following these below-mentioned steps:

  1. Open the form in Design view.
  2. Right-click the Name field.
  3. Under the Data tab, set the Locked property to Yes.

If you set the Locked Property to Yes then it will prevent users from making changes to the field but the user can still make a tab and copy to the field.

In order to prevent users from accessing the field, follow these steps:

  1. Open the form in Design view.
  2. Make the right tap to the Customer Name field.
  3. In the Data tab, set the Enabled property to No and then set the Locked property to Yes.

Even though you have turned off, the customer name field is still visible. So, the user can attempt to click on it. To keep users trying to work with the field at all. You can set the control so that both if the control label and its content get disabled. Follow these steps to perform this:

  1. Open the form in Design view.
  2. Make a right-click on the Customer Name field.
  3. Within the Data tab, set the Enabled property to No and then set the Locked property to No.

Wrap Up:

From now onwards you need not worry about the Access record locking issue during multiple access on the network as ow you know how to deal with it. So, access your database without any restriction.

tip Still having issues? Fix them with this Access repair tool:

This software repairs & restores all ACCDB/MDB objects including tables, reports, queries, records, forms, and indexes along with modules, macros, and other stuffs effectively.

  1. Download Stellar Repair for Access rated Great on Cnet (download starts on this page).
  2. Click Browse and Search option to locate corrupt Access database.
  3. Click Repair button to repair & preview the database objects.

Pearson Willey is a website content writer and long-form content planner. Besides this, he is also an avid reader. Thus he knows very well how to write an engaging content for readers. Writing is like a growing edge for him. He loves exploring his knowledge on MS Access & sharing tech blogs.