DISPLAY IMAGE IN FORM

S

ShopTech ACTS

I'm starting to learn how to do many things with ACCESS 2003, but there is
something I'm trying to do and I don't know how. I am creating a database
with ACCESS in order to control dangerous goods inventory in my work area.
For this, I've created a form which displays all the details for every
product. What I'm trying to do is to have this form display for each product
1 to 4 different bitmap images that represent the hazards related to the
product. Those images will be selected from 8 different ones that I have
already stored in a table, using a code on another column of the same table.
Am I doing things right up to now, and if so what would be the next step.
 
L

Larry Linson

ShopTech ACTS said:
I'm starting to learn how to do many things with ACCESS 2003, but there is
something I'm trying to do and I don't know how. I am creating a database
with ACCESS in order to control dangerous goods inventory in my work area.
For this, I've created a form which displays all the details for every
product. What I'm trying to do is to have this form display for each
product
1 to 4 different bitmap images that represent the hazards related to the
product. Those images will be selected from 8 different ones that I have
already stored in a table, using a code on another column of the same
table.
Am I doing things right up to now, and if so what would be the next step.

The sample imaging databases at http://accdevel.tripod.com illustrate three
approaches to handling images in Access, and the download includes an
article discussing considerations in choosing an approach. Two of the
approaches do not use OLE Objects and, thus, avoid the database bloat, and
some other problems, associated with images in OLE Objects. (Note: Access
2007 has eliminated the problem of bloat, but not all the other problems
with relying on whatever image software the user has installed.)

If you are printing the images in reports, to avoid memory leakage, you
should also see MVP Stephen Lebans' http://www.lebans.com/printfailures.htm.
PrintFailure.zip is an Access97 MDB containing a report that fails during
the Access formatting process prior to being spooled to the Printer Driver.
This MDB also contains code showing how to convert the contents of the Image
control to a Bitmap file prior to printing. This helps alleviate the "Out of
Memory" error that can popup when printing image intensive reports.

Larry Linson
Microsoft Access MVP
 
Top