Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: "Object Is Locked" Error Message When You Try to Close a Form That Contains an Embedded Object


View products that this article applies to.

Symptoms

When you try to close a form that has an embedded Microsoft Graph 2000 Chart object, you may receive the following error message even though you did not make any changes to the object:
The object is locked, so any changes you make will be discarded when the form is closed. Click Save As/Export on the File menu and save the object under a different name.

↑ Back to the top


Cause

This issue can occur if Access 2000 detects that the underlying source of the object has been modified.

↑ Back to the top


Resolution

To resolve this issue, set the object's Enabled property to No to avoid activating the object in-place by accident:
  1. Right-click the object on the form, and then click Properties.
  2. In the object frame properties window, locate the Enabled property.
  3. Set the Enabled property to No, and then close the object frame properties window.

↑ Back to the top


More information

Setting the object's Enabled property to No may change the background color of the object to gray. If you want a different color, right-click the object, click Fill/Back Color, and then click the color that you want.

For additional information about in-place activation of OLE objects, click the article number below to view the article in the Microsoft Knowledge Base:
209108 ACC200: How to Use In-place Activation with OLE Objects

↑ Back to the top


Keywords: KB308635, kbprb, kbarchive, kbnosurvey

↑ Back to the top

Article Info
Article ID : 308635
Revision : 2
Created on : 10/24/2013
Published on : 10/24/2013
Exists online : False
Views : 300