Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The Display Type property of an OLE Object changes to "Content" when the record is saved


View products that this article applies to.

This article was previously published under Q282323
Novice: Requires knowledge of the user interface on single-user computers.

This article applies only to a Microsoft Access database (.mdb or .accdb).

↑ Back to the top


Symptoms

When you insert an OLE Object, such as a picture, in a form and set the Display Type property of the bound object frame to Icon, the object is not displayed as an icon when the record is saved. The Display Type property reverts to Content, and the full picture is displayed. The property sheet of the bound object frame in the new record still shows the Display Type property as Icon until you move off the field or save the record.

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

↑ Back to the top


More information

Steps To Reproduce The Behavior

  1. In Microsoft Office Access 2003 or in Microsoft Access 2002, open the sample database Northwind.mdb.
  2. Select the Categories table in the Database window, and on the Insert menu, click AutoForm.
  3. When the form has been created, click Design View on the View menu.
  4. Right-click the Picture bound object frame and click Properties.
  5. Click the Data tab on the property sheet, and set the Display Type to Icon. Do not close the property sheet.
  6. On the File menu, click Save and name the form Categories1.
  7. On the View menu, click Form View.
  8. On the Insert menu, click New Record.
  9. Type Sample in the Category Name field.
  10. Select the Picture bound object frame. Note that the Display Type property is set to Icon.
  11. On the Insert menu, click Object.
  12. In the dialog box that appears, select Create from File, and then click Browse. Navigate to a folder containing bitmap files (such as C:\Program Files\Common Files\Services). Select any bitmap file and click OK twice.

    A Bitmap Image icon is displayed in the Picture bound object frame.
  13. On the Records menu, click Save Record.

    The Bitmap icon changes to display the actual content of the bitmap, and the Display Type property of the Picture object is changed to Content.

↑ Back to the top


Keywords: KB282323, kbnofix, kbprb

↑ Back to the top

Article Info
Article ID : 282323
Revision : 7
Created on : 3/30/2007
Published on : 3/30/2007
Exists online : False
Views : 452