Article ID: 918578 - Last Review: November 3, 2006 - Revision: 1.1 Error message when two different users try to change the same record in a Microsoft Access 2007 database: "Could not update; currently locked"This article applies to a Microsoft Access database (.mdb)
and to a Microsoft Access 2007 database (.accdb).
Novice: Requires knowledge of the user interface on single-user computers.
On This PageSYMPTOMSConsider the following scenario. Two different users access the same Microsoft Office Access 2007 database at the same time. The users try to change the same record. In this scenario, the users receive the following error message: Could not update; currently
locked. Could not update; currently locked by another
session on this machine. CAUSEThis issue occurs because attachment or multi-value fields
use the pessimistic locking feature. Therefore, a lock is held on the field
until the record is committed. You can use the Record Locks property to determine how records are locked and what behavior occurs when two users try to edit the same record at the same time. When you set the Record Locks property to Edited Record, a page of record is locked as soon as any user starts editing any field in the record. The page of record stays locked until the user moves to another record. Therefore, a record can be edited by only one user at a time. This feature is also named pessimistic locking. Note Attachment or multi-value fields use pessimistic locking. This behavior occurs even though you set the Default record locking option to No Locks on the Advanced tab of the Options dialog box. For more information about locking options, see the "RecordLocks Property" topic in the Access 2007 Help file. RESOLUTIONTo resolve this issue, commit the changes. To do this, use
one of the following methods. Method 1: Save the record
Method 2: Refresh the record
STATUS This
behavior is by design. MORE INFORMATIONIn Access 2007, you can create a field that holds multiple
values, such as a list of categories to which you have assigned an issue. These
fields can be attachment fields or multi-value lists. Steps to reproduce the problem
| Article Translations
|

Back to the top
