Home   |   Asp.Net 2.0   |   .Net Framework 2.0   |   IIS 6.0   |   Sql Server 2005   |   Visual Basic 2005   |   c# 2005   |   VS 2005   |   Visual Source Safe 2005

MS Dynamics CRM 3.0

SharePoint Portal Server 2003
SharePoint Server 2007
Dynamics NAV
Dynamics CRM
SharePoint Designer 2007
SharePoint Portal Server 2001
Windows SharePoint Services
Windows SharePoint Services 3.0
Project Server 2003
Project Server 2007
Dynamics – Point of Sale
Dynamics AX
Dynamics GP
Dynamics Retail Management System (RMS)
Dynamics SL
SQL Server 2000
Visual Basic .NET 2003
Visual C# .NET 2003
Visual C++ .NET 2003
Visual C++ 2005
Visual SourceSafe 6.0
Windows Server 2003
Windows Server 2003
Outlook 2003
ADO.NET 1.1
ASP.NET 1.0
Visual Studio Team Foundation Server
Visual Studio 2005 Team Edition
Windows Internet Explorer 7
BizTalk Server 2000
BizTalk Server 2002
BizTalk Server 2004
BizTalk Server 2006
Visual Studio 6.0
Access 2000
Access 2002
Access 2003
Access 2007
Access 97
Collaboration Data Objects 2.0
Commerce Server 2002
Content Management Server 2001
Commerce Server 2007
Content Management Server 2002
Data Access Components 2.7
Data Access Components 2.8
DirectX 9.0b
Office Small Business Accounting 2006
Accounting 2007
ActiveSync 4.1
Class Server 2.0
Groove 2007
Windows Vista
Outlook 2007
OneNote 2003
OneNote 2007
Office X for Mac
Zune software
Zune Live
Zoo Tycoon 2
Flight Simulator 2002
Dungeon Siege II

Cervo Technologies
The Right Source to Outsource

Oracle Database FAQS

Sharepoint Portal Server KB

Outlook 2007 Knowledge Base Articles

Access 2007 Knowledge Base Articles

Explains that you may receive a Could not update; currently locked error message when two different users try to change the same record in the same Access 2007 database. Provides two methods to resolve this issue.


Consider 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.
Additionally, after you make changes in a multi-value field on a form and then move to the table without committing the changes, the value is not updated. If you then try to modify the multi-value field in the table, you receive the following error message:
Could not update; currently locked by another session on this machine.

CAUSE

This 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.

RESOLUTION

To resolve this issue, commit the changes. To do this, use one of the following methods.

Method 1: Save the record

1.Click the Home tab.
2.Under Records, click Save.

Method 2: Refresh the record

1.Click the Home tab.
2.Under Records, click Refresh All, and then click Refresh All or Refresh.

STATUS

This behavior is by design.

MORE INFORMATION

In 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

1.Start Access 2007.
2. Create a new Access 2007 database (.accdb file).
3.Right-click the default table, and then click Design View.
4. In the Save As dialog box, type TestTable in the Table Name box, and then click OK.
5.Add a new field that is named Test. To do this, type Test in the Field Name column, and then select Attachment in the Data Type column.
6.Click Save, and then click Datasheet View.
7.Double-click the field that contains the attachment to open the Attachments dialog box.
8.Click Add, locate a file, and then click Open.
9.Click OK.
10. Click the next record to commit the changes to the table.
11. On the Create tab, click Form in the Forms group.
12.In the new form that displays the table data, right-click the attachment, and then click Manage Attachments.
13. In the Attachments dialog box, click Remove, and then click OK.

Note Do not commit the changes.
14. Click the TestTable tab.
15.Double-click the field that contains the attachment. The Attachments dialog box appears.
16.Select the attachment, click Remove, and then click OK.


APPLIES TO
Microsoft Office Access 2007

Keywords: 
kbexpertisebeginner kbtshoot kbprb KB918578

Copyright © 2004 - 2007 Gridview.org, Inc. All rights reserved. Powered by Smart Web Content Management System