Run code for each record (1 Viewer)

echorley

Registered User.
Local time
Today, 11:05
Joined
Mar 11, 2003
Messages
131
I have a report that will "bubble" in a student's student ID number on a test scan sheet.

For example, if the ID number is 381, then the code I have written will shade in (make the backcolor of a textbox black)the number 3 bubble in the first column, the number 8 bubble in the second column and finally the number 1 bubble in the 3rd column.

When I run this code in the Report Load event, it only works for the first record. While the other student numbers show up on subsequent pages, the backcolor keeps repeating itself.

How do I get the code I wrote to apply to each individual student record?
 

pbaldy

Wino Moderator
Staff member
Local time
Today, 08:05
Joined
Aug 30, 2003
Messages
36,126
Try it in the detail format event instead.
 

echorley

Registered User.
Local time
Today, 11:05
Joined
Mar 11, 2003
Messages
131
Thanks! That was it.
 

Users who are viewing this thread

Top Bottom