Skip to content

New page after this section

This option is similar to the "new page before this section" feature, but it creates a new page instruction after the section has been added to the output. A typical location for this setting is in a group footer, ensuring that the next group starts on a new page. While the option can be set to true statically, it is preferable to control the setting via a function to prevent the report from ending on an empty page. Such a function could utilize the Record Number and Total Record Count special fields to determine whether a new page should be generated.

return {&Record Number} < {&Total Record Count}

Note that the report footer will now be printed on the same page as the last footer section, provided there is enough remaining space.