Pictures on ID cards won't change...

wjoc1

Registered User.
Local time
Today, 17:21
Joined
Jul 25, 2002
Messages
117
Hi,

I need to print off an ID card for every record in my database, but the pictures won't change when I go through the records. I am setting the picture using the "Report_Activate()" function, which is obviously just setting the first picture for every record.

Is there a function that will run for every record, or some way that I can get the pictures to change cause I certainly don't want to print off all 209 cards individualy!
 
Depends on how you have your system setup. The recommended way to work with picturtes is to use an UNBOUND image control and a fields storing the path to the picture file. Then set the Picture property of the image control.

For a Report, you want to use the On Format event and run a line of code:

Me.imgIDPhoto = Me!pathfield.
 

Users who are viewing this thread

Back
Top Bottom