Microsoft Knowledge Base Email Alertz

KBAlertz.com: (824173) - When you try to edit a record in Microsoft Office Access that is being edited by another user, the record may not be shown as locked. Also, Access may stop responding for a significant period of time during the attempt to edit a record that is...

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 824173 - Last Review: April 9, 2007 - Revision: 2.1

Microsoft Access stops responding when you edit a record that is being edited by another user

This article applies only to a Microsoft Access database (.mdb).

Moderate: Requires basic macro, coding, and interoperability skills.

On This Page

SYMPTOMS

When you try to edit a record in Microsoft Office Access that is being edited by another user, the record may not be shown as locked. Also, Access may stop responding for a significant period of time during the attempt to edit a record that is modified by a user but is not yet saved in the database.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

When you edit a record in the database by using Access while the record is being edited by another user, all the records that are related to the record are shown as locked. The locked record indicator appears at the record selector of the record, and you may not edit the records.

However, if the record does not have any child or related records, the locked record indicator does not display.

Caution If you follow the steps in this example, you modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and follow these steps on a copy of the database.

Steps to Reproduce the Behavior

  1. Start Microsoft Office Access.
  2. Open the Northwind sample database.
  3. Delete all rows that correspond to OrderID 10692 from the [Order Details] table. To do this, follow these steps:

    Access 2000, Access 2002, or Access 2003
    1. In the Database window, click Queries under Objects.
    2. In the right pane, double-click Create query in Design view.
    3. In the Show Table dialog box, click Close.
    4. On the View menu, click SQL View.
    5. In the SQL View page, paste the following SQL statement:
      DELETE * FROM [Order Details] where OrderID=10692
    6. On the Query menu, click Run.
    7. Click Yes.
    8. On the File menu, click Close.
    9. Click No when you are prompted to save the query.
    Access 2007
    1. On the Create tab, click Query Design in the Other group.
    2. In the Show Table dialog box, click Close.
    3. On the Create tab , click SQL View in the Results group.
    4. Paste the following SQL statement:
      DELETE * FROM [Order Details] where OrderID=10692
    5. On the Create tab, click Run in the Results group to run the query.
    6. Close the query without saving it.
  4. Create a query that is named qrytest to show the order details of the customer with customerID ALFKI. To do this, follow these steps:

    Access 2000, Access 2002, or Access 2003
    1. In the Database window, click Queries under Objects.
    2. In the right pane, double-click Create query in Design view.
    3. In the Show Table dialog box, click Close.
    4. On the View menu, click SQL View.
    5. Paste the following SQL statement:
      SELECT 
      	Orders.OrderID, 
      	Orders.CustomerID, 
      	Orders.OrderDate, 
      	[Order Details].OrderID
      FROM 
      	Orders LEFT JOIN [Order Details] 
      		ON Orders.OrderID = [Order Details].OrderID
      WHERE 
      	(((Orders.CustomerID)='ALFKI'));
      
    6. On the View menu, click Properties.
    7. In the Query Properties window, set the Record Locks property to Edited Record.
    8. Close the Query Properties window.
    9. On the File menu, click Save.
    10. In the Save As dialog box, type Qrytest, and then click OK.
    11. On the File menu, click Close.
    Access 2007
    1. On the Create tab, click Query Design in the Other group.
    2. In the Show Table dialog box, click Close.
    3. On the Create tab , click SQL View in the Results group.
    4. Paste the following SQL statement:
      SELECT 
      	Orders.OrderID, 
      	Orders.CustomerID, 
      	Orders.OrderDate, 
      	[Order Details].OrderID
      FROM 
      	Orders LEFT JOIN [Order Details] 
      		ON Orders.OrderID = [Order Details].OrderID
      WHERE 
      	(((Orders.CustomerID)='ALFKI'));
      
    5. In the Properties Sheet window, set the Record Locks property to Edited Record.
    6. Save the query as Qrytest.
  5. Double-click Qrytest to run the query.
  6. Modify the Order Date field for the record with OrderID 10692.
  7. Start another instance of the Northwind database.
  8. Double-click Qrytest to run the query.
  9. Try to modify the Order Date field for the record with Order ID=10692.

    Notice that as soon as you type any characters in the record, Access stops responding for a while. The duration of this behavior depends on the number of characters that are typed. However, you cannot modify the record.

APPLIES TO
  • Microsoft Office Access 2007
  • Microsoft Office Access 2003
  • Microsoft Access 2002 Standard Edition
  • Microsoft Access 2000 Standard Edition
Keywords: 
kbstoprespond kbdisplay kbquery kbuser kbprb KB824173
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please