Microsoft KB Archive/918810

From BetaArchive Wiki
Knowledge Base


You cannot add to an image control an image file that has a .cdr, .cgm, .pct, or .wpg file name extension in Access 2007

Article ID: 918810

Article Last Modified on 10/15/2007



APPLIES TO

  • Microsoft Office Access 2007




SYMPTOMS

You create an image control in a form or in a report in Microsoft Office Access 2007. However, you cannot add to the image control an image file that uses one of the following formats:

  • Corel Draw (.cdr)
  • Computer Graphics Metafile (.cgm)
  • Macintosh PICT (.pct)
  • WordPerfect Graphics (.wpg)


CAUSE

This behavior occurs because the Preserve source image format (smaller file size) option is enabled. Access 2007 does not support preserving the image formats that are described in the "Symptoms" section in an image control.

WORKAROUND

To work around this behavior, configure Access 2007 to convert the image file to the bitmap format. Then, and add the image to the image control. To do this, follow these steps:

  1. Start Access 2007.
  2. Click the Microsoft Office Button, and then click Open.
  3. Locate the database file that you want to open, and then click Open.
  4. Click the Microsoft Office Button, and then click Access Options.
  5. In the left pane, click Current Database.
  6. In the Application Options group, click Convert all picture data to bitmaps (compatible with Access 2003 and earlier).
  7. Click OK.
  8. Open the form or report in design view.
  9. Under Form Tools or Report Tools on the Design tab, click the image icon in the Controls group.
  10. In the Detail pane, drag the location for the image control to where you want the image control to appear.
  11. In the Insert Picture dialog box, locate the image file that you want to display, and then click OK.


STATUS

This behavior is by design.


Additional query words: AC2007 ACC2007 Access2007

Keywords: kbtshoot kbprb kbexpertiseinter KB918810