Setting ForceNewPage Property

A

Anne

I want to set the ForceNewPage property for a group footer in a report. I
think the code needs to be on the On Print event, but how do I reference the
footer?

Thanks in advance.
 
R

Rick Brandt

Anne said:
I want to set the ForceNewPage property for a group footer in a
report. I think the code needs to be on the On Print event, but how
do I reference the footer?

Thanks in advance.

See the help topic on the Section Property. Your group header/footer
sections can be referenced with...

Me.Section(n)

....where n is the appropriate value. This will vary depending on how many
groups you have. The first group header is 5 with 6 being the first group
footer. Additional group header/footers count up from there with the
headers always being odd and the footers being even.
 

Ask a Question

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.

Ask a Question

Top