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
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
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.