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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Hamed NasrRetired IT ProfessionalCommented:
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
Hamed NasrRetired IT ProfessionalCommented:
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

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.