ACC: Error Deleting OLE Object Field from Replicable Database

ID: Q195947


The information in this article applies to:


SYMPTOMS

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

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.


MORE INFORMATION

Steps to Reproduce Problem


  1. In Microsoft Access, create a new blank database called DB1.


  2. On the Tools menu, click Options.


  3. On the View tab, turn on Show System Objects and click OK.


  4. Create a new table and view it in Design view.


  5. In Design view, define one field called OleObj with a data type of OLE Object.


  6. Save the Table1 table.


  7. Click yes to create a primary key field.


  8. Switch to Datasheet view and select the OleObj field.


  9. On the Insert menu, click Insert Object.


  10. 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.


  11. On the File menu in Microsoft Paint, click Update Table1.


  12. On the Tools menu, click Replication And Create Replica.


  13. Because this is a test database, you don't need to create a backup. Click No to the prompt.


  14. When asked, click OK to close the database. The replica is created.

    You should see the database as the new Design Master.


  15. Open the Table1 table in Design view.


  16. Delete the OLE Object field, leaving only the ID field.


  17. On the File menu, click Save. Note that you receive the following alert:
    Couldn't find field 'Table1'.


  18. Click OK. Note that you receive following error:
    Errors were encountered during the save operation.


  19. Click OK.


  20. On the File menu, click Close. You are prompted to save changes. Click No to the prompt.


  21. Reopen the table. Note that the OleObj field has actually been deleted.



Keywords          : kbdta RplGen 
Version           : WINDOWS:7.0,97
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: April 26, 1999