Create Two Formulas
SuppressLastPage (Place in Group Footer of Main Group).
//{@Set SuppressLastPage} Place this in the Group Footer so it is set after the penultimate page header is printed then use it in the PageHeader to supress items on the last page like Fee Earner Name on a Fee Earner List
WhilePrintingRecords;
BooleanVar SuppressLastPage;
if OnLastRecord then SuppressLastPage := True else SuppressLastPage := False ;
---
SuppressLastPageCheck (Use in Page Header to Suppress Section or Items Within the Page Header)
//{Check Contects SuppressLastPage Note: Should only be True on last page header}
WhilePrintingRecords;
BooleanVar SuppressLastPage;
SuppressLastPage ;