Hi everyone. I have a list box displaying multiple items, and am able to print out a report depending on which item is clicked. However, I would like to add a image to each report. In the search query that the report is generated from, the second column is a image path. I have a image frame in my report, and on format I have it following the code listed below.
Private Sub ImageFrame_Format(Cancel As Integer, FormatCount As Integer)
Me![ImageFrame].Picture = Me![searchquery]![Column(1)]
End Sub
The query that the path is stored in is called searchquery. I think i am messing up my syntax somewhere, can anyone help me out?
Thanks,
Sam