How to import many images

C

ChrisA

I have several images in a folder that I need to import into a table. I have
a table created with all of the image file names in one column. I basically
want to create a new column in my existing table that will read the file name
and import the appropriate image on the same row. Is this possible or is
there perhaps a better way to do this?

Thanks in advance.

Chris
 
L

Larry Linson

Normally it is better to link to images
than import them. Access does
not store images efficiently.

Correction: using OLE Objects to store images is not very efficient. There
is at least one efficient way to store images in a database.

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.

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