1702401 - How to print a message when a group will go beyond the page

SAP Knowledge Base Article - Public

1702401 - How to print a message when a group will go beyond the page

Symptom

 How to print a message when a group will go beyond the page

Environment

Crystal report 2008

Crystal report 2011

Resolution

  1. Create a sample report
  2. Group by any of the field
  3. 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

Product

Crystal Reports 2008 V1