Microsoft KB Archive/282323

= The Display Type property of an OLE Object changes to &quot;Content&quot; when the record is saved =

Article ID: 282323

Article Last Modified on 3/30/2007

-

APPLIES TO


 * Microsoft Office Access 2007
 * Microsoft Office Access 2003
 * Microsoft Access 2002 Standard Edition

-



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



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.



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

Additional query words: pra ACC2002 ACC2007

Keywords: kbprb kbnofix KB282323

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.