Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 282323 - Last Review: March 30, 2007 - Revision: 6.1
The Display Type property of an OLE Object changes to "Content" when the record is saved
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).
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.
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
- In
Microsoft Office Access 2003 or in Microsoft Access 2002, open
the sample database Northwind.mdb.
- Select the Categories table in the Database window, and on the Insert menu, click AutoForm.
- When the form has been created, click Design View on the View menu.
- Right-click the Picture bound object frame and click Properties.
- Click the Data tab on the property sheet, and set the Display Type to Icon. Do not close the property sheet.
- On the File menu, click Save and name the form Categories1.
- On the View menu, click Form View.
- On the Insert menu, click New Record.
- Type Sample in the Category Name
field.
- Select the Picture bound object frame. Note that the Display Type property is set to Icon.
- On the Insert menu, click Object.
- 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. - 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.
APPLIES TO
- Microsoft Office Access 2007
- Microsoft Office Access 2003
- Microsoft Access 2002 Standard Edition
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate