Microsoft KB Archive/195947

= ACC: Error Deleting OLE Object Field from Replicable Database =

Article ID: 195947

Article Last Modified on 1/23/2007

-

APPLIES TO


 * Microsoft Access 95 Standard Edition
 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q195947



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



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:


 * 1) On the Tools menu, click Options.
 * 2) Click the View tab.
 * 3) 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.



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.</li> Save the Table1 table.</li> Click yes to create a primary key field.</li> Switch to Datasheet view and select the OleObj field.</li> On the Insert menu, click Insert Object.</li> 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.</li> On the File menu in Microsoft Paint, click Update Table1.</li> On the Tools menu, click Replication And Create Replica.</li> Because this is a test database, you don't need to create a backup. Click No to the prompt.</li> When asked, click OK to close the database. The replica is created.

You should see the database as the new Design Master.</li> Open the Table1 table in Design view.</li> Delete the OLE Object field, leaving only the ID field.</li> On the File menu, click Save. Note that you receive the following alert:

Couldn't find field 'Table1'.

</li> Click OK. Note that you receive following error:

Errors were encountered during the save operation.

</li> Click OK.</li> On the File menu, click Close. You are prompted to save changes. Click No to the prompt.</li> <li>Reopen the table. Note that the OleObj field has actually been deleted.</li></ol>

Additional query words: couldn t find field

Keywords: kbbug kbfix KB195947

-

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

© Microsoft Corporation. All rights reserved.