Display Type property of OLE Objects changes to "Content" when the record is saved (282323)



The information in this article applies to:

  • Microsoft Office Access 2003
  • Microsoft Access 2002

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

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.

STATUS

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

MORE INFORMATION

Steps To Reproduce The Behavior

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

Modification Type:MinorLast Reviewed:6/7/2004
Keywords:kbprb kbnofix KB282323