R
raja
I have a situation where each record in the table being reported could
have 0-5 pictures associated with it. I want to print those pictures,
if they exist, with each record's report. I cannot figure out a good
way to do this. I have been attempting to place 5 Image controls in the
Detail area of the report, organized vertically, so one comes before
the next as you go down the page. Then, in the report's VBA module, I
was trying to check the appropriate fields in the record, if the field
contains a path to an image then, I attempt to set the image control's
size (each image is approx 7.5 x 10) and set it's visible property to
true. If there is no path, then I was trying to set the
ImageControl.Visible property to false, and go on.
If I try to set the image control's size during design time, then I run
out of space on the report. It seems to have a size limit (about 21
inches) that will not let me add 5 image controls that each have a
height of approx 10 inches.
This is apparently impossible to do. I cannot set the control's Height
and Width properties during runtime, which seems amazing to me, nor can
I access the control's SizeToFit method. There are quite a few other
challenges as well.
Does anyone have a suggestion as to how to accomplish this task?
Let me know if you need more detail about this. Thank you.
have 0-5 pictures associated with it. I want to print those pictures,
if they exist, with each record's report. I cannot figure out a good
way to do this. I have been attempting to place 5 Image controls in the
Detail area of the report, organized vertically, so one comes before
the next as you go down the page. Then, in the report's VBA module, I
was trying to check the appropriate fields in the record, if the field
contains a path to an image then, I attempt to set the image control's
size (each image is approx 7.5 x 10) and set it's visible property to
true. If there is no path, then I was trying to set the
ImageControl.Visible property to false, and go on.
If I try to set the image control's size during design time, then I run
out of space on the report. It seems to have a size limit (about 21
inches) that will not let me add 5 image controls that each have a
height of approx 10 inches.
This is apparently impossible to do. I cannot set the control's Height
and Width properties during runtime, which seems amazing to me, nor can
I access the control's SizeToFit method. There are quite a few other
challenges as well.
Does anyone have a suggestion as to how to accomplish this task?
Let me know if you need more detail about this. Thank you.