ACC97: "This OLE object was created in an earlier version of OLE" Error
ID: Q186306
|
The information in this article applies to:
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
- Start Microsoft Access and open the sample database Northwind.mdb.
- Create a new table in Design View and add one field named OLETest.
Select OLE Object as the data type for the field.
- On the File menu, click Save. In the Save As dialog box, enter
Table1 for the Table Name, and then click OK.
- When you see the prompt "There is no primary key defined," click No.
- On the File menu, click Close.
- 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.
- When you see the "Which layout would you like for your form?" screen,
click Finish.
- On the File menu, click Save As/Export. In the Save As dialog
box, type Form1 for the New Name, and then click OK.
- 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: April 29, 1999