Suppressing the page header till the last page in SAP Crystal Reports 2008


I think you would require to use “OnLastRecord” keyword for page header suppression. Below are details about this function:

Function Description:

This function returns “TRUE” when the current record being evaluated is the last record in the report.

Returns:

Boolean Value

Action:

This function returns “TRUE” when the current record being evaluated is the last record in the report.

Note that any field that you are grouped and you want to suppress on the last record for this group, or use the next () function as shown below:

onlastrecord or next({table.field})<>{table.field}

 Example:

GH1 (using Customer.ID as group)
GH2 (using Sales.No as group)
Details
GF2 - has line drawn on it
        Conditional suppression using the formula
        onlastrecord or next({customer.ID})<>{customer.ID}
GF1

Samual Sam
Samual Sam

Learning faster. Every day.

Updated on: 11-Dec-2019

477 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements