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

SAPCrystal ReportsSAP Bods

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
Updated on 11-Dec-2019 06:39:18