Pictures in access

G

Guest

Hi everyone,

I'm working with large databases in access and need to create reports with
pictures for approximately 1700 records. Everything is working, but I can
only put a limited number of pictures in the database (I've inserted them as
links in the "Picture" field). Please can anyone advise me on how to solve
this problem.

Thanks,
Chris
 
G

Guest

Hi

Store the pictures outside the DB and place the path to the picture in a
table. Hope that makes sense.

Like this

Table People
ID field - autonumber
Name - text
Path to picture - text
etc.
 
A

Arvin Meyer [MVP]

My preferred way to include pictures is not to bind them into the database.
Instead I store the path to a folder on the hard drive and the file name.
The path is easily changed if a copy is moved to another machine or system.
This the most efficient way of including pictures, bar none.

An example database, with all the code you'll need to do this for both forms
and reports is at:

http://www.datastrat.com/Download/Picture2K.zip
 
G

Guest

Hi Arvin

I just looked at you zip file - it's really good.

--
Wayne
Manchester, England.
 
L

Larry Linson

chrisg29 said:
I'm working with large databases in access and need
to create reports with pictures for approximately 1700
records. Everything is working, but I can only put a
limited number of pictures in the database (I've inserted
them as links in the "Picture" field). Please can anyone
advise me on how to solve this problem.

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 bloat problem, but you still are using external
software and are subject to its featuree, funcions, and foibles.)

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top