external image files on a report

  • Thread starter Thread starter Veetold
  • Start date Start date
V

Veetold

I have a problem with displaying image files (jpg) on my report.
I got a solution from Larry Linson (Microsoft Access MVP) for which I'm
grateful, but I still don't exactly know how to link an image control with
the specific file - all information: path name, file name and file extention
are included in one field of each record in the report source table (data of
this shape: \\server_name\folder_name\file_name.jpg).
Any help appreciated.
Cheers
 
In the Print event for the Section of the Report that contains the Image
control, set the Picture property of the Image control to that fully
qualified path-and-file name.

Asf 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
 
It works - thank you. :)


U¿ytkownik "Larry Linson said:
In the Print event for the Section of the Report that contains the Image
control, set the Picture property of the Image control to that fully
qualified path-and-file name.

Asf 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

(data
 
Larry Linson said:
In the Print event for the Section of the Report that contains the Image
control, set the Picture property of the Image control to that fully
qualified path-and-file name.
Sorry to piggy-back this :)

Is there a way to avoid the full path?
 
Back
Top