Link to home
Start Free TrialLog in
Avatar of rickchan108
rickchan108

asked on

crystal report supress report footer

hi
I am using crystal report 10. How can I ask a report footer to be display only when it is at the last page.

thank you
Avatar of habibb
habibb
Flag of Pakistan image

report footer bydefault displays at the last page of whole report.
How ever if you want to display it conditionaly then you need to place a code in suppress formula window in section experts.

Avatar of rickchan108
rickchan108

ASKER

sorry, it is typo. I mean page footer to be display at last page.

thanks
ASKER CERTIFIED SOLUTION
Avatar of habibb
habibb
Flag of Pakistan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks habibb
Glad its help you.
Avatar of Mike McCracken
You could also use

OnLastRecord

mlmcc
I'm using the formula "pagenumber = totalpagecount" to suppress my page header.  This works, but if the last page of my report fills the entire page (w/o the header), the TotalPageCount is 1 too many.  It is like Crystal counts the pages before suppressing the page header.  In other words, my report is 3 pages but Crystal is confused and thinks it is 4 becuase it is supressing the page header on the last page AFTER it calculates TotalPageCount.  

How can I suppress the page header on the last page AND have a correct TotalPageCount?