Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

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

I am working on Crystal Reports 2008. I am creating a report and want to suppress the headers till the last page of the report. Could you please suggest how can this be done?


1 Answer
Samual Sam

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
Advertisements

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.