ACC97: "This OLE Object Was Created in an Earlier Version of OLE" Error

ID: Q186306


The information in this article applies to:
  • Microsoft Access 97


SYMPTOMS

Moderate: Requires basic macro, coding, and interoperability skills.

When you insert a Package object and select Display As Icon in a form opened in Form view, you may receive the following error message:

This OLE object was created in an earlier version of OLE so it can't be displayed as an icon.


RESOLUTION

There are two workarounds to resolve this behavior:

  • You can specify the object type instead of using Packager.

    -or-


  • You can click to clear the Display As Icon option when inserting the Package object.


Specifying the Object Type

When you insert the OLE object, select the appropriate format; for example, for a Word document select Microsoft Word Document, for an Excel worksheet, select Microsoft Excel Worksheet.

Clearing the Display As Icon Option

If you must use Packager to insert the object, make sure Display As Icon is not selected when you create the object. This will also prevent the error message from being displayed, but the item will appear as an icon in the OLE Object.


MORE INFORMATION

Steps to Reproduce Behavior


  1. Start Microsoft Access and open the sample database Northwind.mdb.


  2. Create a new table in Design View and add one field named OLETest. Select OLE Object as the data type for the field.


  3. On the File menu, click Save. In the Save As dialog box, enter Table1 for the Table Name, and then click OK.


  4. When you see the prompt "There is no primary key defined," click No.


  5. On the File menu, click Close.


  6. Create a new form by using the Form Wizard and select Table1 as the data source for the Form. From the Available Fields list, select OLETest, and then click Next.


  7. When you see the "Which layout would you like for your form?" screen, click Finish.


  8. On the File menu, click Save As/Export. In the Save As dialog box, type Form1 for the New Name, and then click OK.


  9. While still in Form view, on the Insert menu, click Object. In the Insert Object dialog box, select Create New. Under the Object Type box, select Package. Make sure the Display As Icon box is also selected, and then click OK.

    Note that you have received the error message displayed in the "Symptoms" section.



REFERENCES

For more information about inserting objects into a form or report, search the Help Index for "inserted objects, displaying object content or icon," or ask the Microsoft Access 97 Office Assistant.

Keywords : kberrmsg kbdta IntpOle IntpOthr
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: September 15, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.