Adding multiple images to a report

S

Shirley J.

I need to create a report that displays multiple images
(jpg's) that change on a person's name. I have set up a
table to store the file paths and I have been able to
successfully display ONE jpg per name in a report using
the following code:

Private Sub Detail_Format(Cancel As Integer, FormatCount
As Integer)
Me![ImageFrame1].Picture = Me![ImagePathBar]
End Sub

I have added additional ImageFrames to my report
(ImageFrame2, ImageFrame3, etc.) but when I put in the
Imagepath field (ImagePathSpider, ImagePathFloatingBar
etc.)to correspond with the ImageFrame, I get an error
message that the field is not found. I think it is because
I don't know how to write the code properly to add another
image. Can anyone help me? Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top