Microsoft KB Archive/93026

= ACC: Users Can Edit but Not Commit Read-Only OLE Objects =

Article ID: 93026

Article Last Modified on 1/18/2007

-

APPLIES TO


 * Microsoft Access 1.0 Standard Edition
 * Microsoft Access 1.1 Standard Edition
 * Microsoft Access 2.0 Standard Edition
 * Microsoft Access 95 Standard Edition
 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q93026



SUMMARY
Advanced: Requires expert coding, interoperability, and multiuser skills.

Users are allowed to edit OLE objects in a database that has been opened as read-only or in a form that is read-only. However, when a user attempts to save the record, Microsoft Access displays a message indicating that the record cannot be updated.

To prevent users from attempting to edit OLE objects in read-only forms, set the Enabled property of the object frame to No.



MORE INFORMATION
In a read-only database, a user is allowed to edit and update OLE objects but is not allowed to commit a record with these changes. At the point the record is committed, the following message appears:

 In Microsoft Access 1.x and 2.0 ---

Can't save changes to this object because you don't have permission to write to the record. Copy the object to the Clipboard if you want to save it, then choose Undo Field.

In Microsoft Access 7.0 ---

Microsoft Access can't save your changes to this bound OLE object because you don't have permission to write to the record in which the object is stored or the record is locked by another user. Copy the object to the Clipboard (select the  object and click Copy on the Edit menu), and click Undo Current Record on the Edit menu. You can then open the application used to create the object, paste the object, and save it.

In Microsoft Access 97 --

Microsoft Access can't save your changes to this bound OLE object. Either you don't have permission to write to the record in which the object is stored, or the record is locked by another user. Copy the object to the Clipboard (select the  object and click Copy on the Edit menu), and click Undo Current Record on the Edit menu. Then open the application you used to  create the object, paste the object from the Clipboard, and save it.

The user must undo the changes before the record can be committed. To save the changes, the user must copy the object to the Clipboard before clicking the Undo Field.

Additional query words: object linking embedding alert

Keywords: kbinfo kbinterop KB93026

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.