how to show multiple images in data report based on the record

Hello All,
I want to display multiple records in my data report. with each record there is one picture, which i want to show with the record.
Please tell me how is it possible?
I can use the statement like:
Set perRating.Sections("section2").Controls.Item("image1").Picture = LoadPicture(App.Path & "\Image1.bmp")
But in case of multiple records, fetched from the database,  how this command will work??
Please Help me ,
Regards,
laveshvermaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

 
hnasrCommented:
If you link the images in your table, you just display then in form or report.
0
 
laveshvermaAuthor Commented:
Hello Sir, I have stored the path of teh images , Not the image itself.Thn how to specify the images at run time.
Sir, there will the ID cards choosen by the user on the report Thn how to specify which image control has which image?
0
 
hnasrCommented:
Try this:
Table has a field say: pict filled with path for image as C:\xyz\b.bmp
Put this field on form, say txtPict
Add an Image frame to the form, call it :Pict

Private Sub Form_Current()
    Me!txtPict.SetFocus
    Me!pict.Picture = Me!txtPict.Text
End Sub
   
0

Experts Exchange Solution brought to you by ConnectWise

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.