Preventing Group Footer from printed at the top of a page

L

Lachlan Sharp

Hi All

Is there a way to prevent a group footer from being the
first thing printed at the top of a page? I'm only using
the group footer to create space between sections. Do I
have to make some evaluation to determine whether to
cancel the Group Footers format event?

Thanks

Lachlan
 
A

Allen Browne

In the Format event of the Group Footer, examine the Top property of the
report. If you are far enough down the page, set the section's Visible
property to No (or toggle the PrintSection and MoveLayout properties).

The Top property will be in Twips, here 1440 twips = 1 inch.

The Visible property often does not show in the list of enumerated
properties, but it is there.
 
Top