For example, do I set up the report the same as
the form with an unbound image control who's
picture property gets the picture's path from a
control holding the path? if so, when i add an
image control to the report the picture property
for the control is not to be found- should it be
there?
My Image Control _did_ have a Picture property, under the Format tab of its
Property Sheet. If yours does not, delete it, check to make certain you are
using the Image Control from the Toolbox and follow the steps below to
replace it.
I created a Report referencing tblImageFiles, in the Detail Section of which
I had a control called txtImagePathAndFile, and on which I placed an Image
Control from the Toolbox. I chose a picture, clicked it in, and later
deleted the text from the Picture property. I changed the default SizeMode
value of Clip to Zoom. I changed the wizard-generated name to imgImage. In
the Print Event of the Detail Section, I put the following:
Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer)
Me!imgImage.Picture = Me.txtImagePathAndFile
End Sub
and it worked just fine.
do I add anything( and what) to a section's print event property. I am
sure
this is a very simple thing, it is just that I have not a clue how to set
it
up things in Reports!
Could you walk me through the architecture, what type of controls to add
and
where to put the code?
Caution: my report had only two Records, each with a JPG picture. Be sure to
check the reference in my original response to Stephen Lebans' site, to
avoid running out of memory if you have quite a number of pictures in JPG or
GIF compressed format.
Best of luck with your project.
Larry Linson
Microsoft Access MVP