Printing “group continues on next page”

Tuesday 13 March 2018 @ 6:03 pm

Many Crystal course books will have a lesson on printing a “Continued” message whenever a group takes up more than one page.  This message usually prints at the top of each page in the group, except the first.  But below is a different approach.  It prints “Continued on the next page” at the bottom of pages when a group is going to go beyond the current page.  There are actually several ways to do this, but the one that works in almost all situations is below.  It uses 3 formulas, and these can be cut and pasted into your report:

The first formula goes on the Group Header (and can be suppressed):

WhilePrintingRecords;
BooleanVar Continued:= True

The second formula goes on the Group Footer (and can be suppressed):

WhilePrintingRecords;
BooleanVar Continued:= False

The third formula goes on the page footer:

WhilePrintingRecords;
BooleanVar Continued;
if Continued
then "Group continues on next page"
else ""

(For examples of my most popular formulas, please visit the FORMULAS page on my website.)






Comments are closed.

Jeff-Net
Recrystallize Pro

Crystal Reports Server