Symptom
How to print a message when a group will go beyond the page
Environment
Crystal report 2008
Crystal report 2011
Resolution
-
Create a sample report
-
Group by any of the field
-
Report will have Group header, group footer, and the page footer for each page of the report
Write three following formulas
This formula goes on the Group Header:
WhilePrintingRecords;
BooleanVar Continued:= True
This formula goes on the Group Footer:
WhilePrintingRecords;
BooleanVar Continued:= False
This formula goes on the page footer:
WhilePrintingRecords;
BooleanVar Continued;
if Continued
then "Continued on next page"
else ""
If the data is on the last page, the above message "continued on next page" will be displayed till the last but one page.
Keywords
printing a message in the page footer till last page, message in the page footer, message when a group will go beyond the page, message in footer of 2008, message in footer of 2011 , KBA , BI-RA-CR-DSL , Crystal Reports on C++ Data Semantic Layer (ClassicUniverse) , How To