Report Help

D

Duane Hookom

I would add a text box to the detail section of your report:
Name: txtCount
Control Source: =1
Running Sum: Over Group
Visible: No
Then add code to the On Format event of the detail section:
'(This goes in the module window)
Cancel = Me.txtCount>3
 
M

Mrs. Batton

It works perfectly. Thanks

Duane Hookom said:
I would add a text box to the detail section of your report:
Name: txtCount
Control Source: =1
Running Sum: Over Group
Visible: No
Then add code to the On Format event of the detail section:
'(This goes in the module window)
Cancel = Me.txtCount>3
 
Top