Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 195947 - Last Review: January 23, 2007 - Revision: 3.1
ACC: Error Deleting OLE Object Field from Replicable Database
This article was previously published under Q195947
Advanced: Requires expert coding, interoperability, and multiuser skills.
On This Page
SYMPTOMS
In a replicable Microsoft Access database, if you try to delete an OLE
Object field in the Design view of a table, you may see the following
alert
Couldn't find field 'Table1'
followed by the message:
Errors were encountered during the save operation.
CAUSE
You have the Show System Objects option turned on.
RESOLUTION
To avoid seeing this behavior when you delete OLE Object fields from
replicable databases, turn off the Show System Objects option. To do this,
follow these steps:
- On the Tools menu, click Options.
- Click the View tab.
- Turn off Show System Objects, and then click OK.
STATUS
Microsoft has confirmed this to be a problem in the versions of Microsoft
Access listed at the beginning of this article.
MORE INFORMATION
Steps to Reproduce Problem
- In Microsoft Access, create a new blank database called DB1.
- On the Tools menu, click Options.
- On the View tab, turn on Show System Objects and click OK.
- Create a new table and view it in Design view.
- In Design view, define one field called OleObj with a data type of
OLE Object.
- Save the Table1 table.
- Click yes to create a primary key field.
- Switch to Datasheet view and select the OleObj field.
- On the Insert menu, click Insert Object.
- In the Insert Object dialog box, click to select Create New, select
Bitmap Image, and then click OK.
Note that an instance of Microsoft Paint opens.
- On the File menu in Microsoft Paint, click Update Table1.
- On the Tools menu, click Replication And Create Replica.
- Because this is a test database, you don't need to create a backup.
Click No to the prompt.
- When asked, click OK to close the database. The replica is created.
You should see the database as the new Design Master.
- Open the Table1 table in Design view.
- Delete the OLE Object field, leaving only the ID field.
- On the File menu, click Save. Note that you receive the following
alert:
Couldn't find field 'Table1'.
- Click OK. Note that you receive following error:
Errors were encountered during the save operation.
- Click OK.
- On the File menu, click Close. You are prompted to save changes.
Click No to the prompt.
- Reopen the table. Note that the OleObj field has actually been
deleted.
APPLIES TO
- Microsoft Access 95 Standard Edition
- Microsoft Access 97 Standard Edition
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
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
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please