Insert image in Report and Forms

  • Thread starter Thread starter an
  • Start date Start date
A

an

Hello!

I have Access2000.
In my database I have a T_ImgCAD with fields:

OLEId DataType: Text to Code of images
ImgPathCAD DataType: Text to path in C:\
ImgCAD DataType: OLE Object

I have a directory c:\ImgCAD with >1000 CodImg"x".jpg.

a) I would like insert in frame on Report and Form the
correct image to respective record.
b) I would like in PrintPreview, Fit dimension when Open
Record.
I need your help because I don't know.
Thanks in advance.
an
 
An,

In a report I use the "On Format" event to set my images.
Drop an image control into the appropriate report section.
You will need to point it at an image to start with eg
c:\imgCAD\default.jpg

In the section's on format event set the picture property
to reflect the contents of the imgpathcad.


HTH,

Terry
 
Ok, thanks.
Go to try.

And second question?
PrintPreview with Fit...
Have you solution, please'
an
 
An,

Sorry it took a while to get back to you ..... other
things on my plate at the moment.

I'm not sure what you mean by "fit dimension", the size of
the preview window? or the fit of the image in the image
control or .... ?
In the properties for the image control I usually set it
to zoom and centre as a starting point.

Terry
 
Don't mension it...
Exacty first hypothesis.
The size of the preview window. For example 75% or fit.
However, my Report continue to load all images before stop
and show the exact picture of record (?)
Thanks
an
 
Back
Top