All,
I’m trying to insert a maximum of three images in a report via a linked path defined in a control that resides in the Details section of the report. I have successfully done so with one image using the code below:
Private Sub Report_Activate()
' After selecting an image for the product, display it.
On Error Resume Next
showImageFrame1
Me![ImageFrame1].Picture = Me![ImageFile]
End Sub
Sub showImageFrame1()
' Display the image control
Me![ImageFrame1].Visible = True
End Sub
The issue is that the image controls (ImageFrame1..ImageFrame3) that ultimately display the images must be in the Footer section of the report.
How do I display Detail Record #1’s linked path in ImageFrame1, Detail Record #2’s linked path in ImageFrame2, and so on.
Any help is greatly appreciated.
Tony
Montreal
I’m trying to insert a maximum of three images in a report via a linked path defined in a control that resides in the Details section of the report. I have successfully done so with one image using the code below:
Private Sub Report_Activate()
' After selecting an image for the product, display it.
On Error Resume Next
showImageFrame1
Me![ImageFrame1].Picture = Me![ImageFile]
End Sub
Sub showImageFrame1()
' Display the image control
Me![ImageFrame1].Visible = True
End Sub
The issue is that the image controls (ImageFrame1..ImageFrame3) that ultimately display the images must be in the Footer section of the report.
How do I display Detail Record #1’s linked path in ImageFrame1, Detail Record #2’s linked path in ImageFrame2, and so on.
Any help is greatly appreciated.
Tony
Montreal