How to display images from a folder in a form, a report, or a data access page (285820)
The information in this article applies to:
- Microsoft Office Access 2003
- Microsoft Access 2002
This article was previously published under Q285820
For a Microsoft Access 2000 version of this article, see 210100.
Advanced: Requires expert coding,
interoperability, and multiuser skills. This article applies to a Microsoft
Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY Sometimes, it is not practical to store images in a
Microsoft Access table. If you have many images, or if each of your image files
is large, the size of the Microsoft Access database file can quickly
increase. This article demonstrates a custom function that you can use
to:
- Store file paths and names of images in a table.
- Display images by using an image control.
- Hide the image control if no image is available.
- Provide feedback on the display status of the
image.
This article also contains sample Visual Basic script that you
can use to display the images in a data access page. NOTE: Although this example use bitmap images (.bmp), you can also use
other image types, such as .jpg, .pcx, and .gif.
Modification Type: | Major | Last Reviewed: | 11/2/2005 |
---|
Keywords: | kbDatabase kbdesign kbgraphic kbdisplay kbReport kbhowto kbinterop kbProgramming KB285820 kbAudDeveloper |
---|
|