Solved

crystal report supress report footer

Posted on 2007-11-18
7
2,216 Views
Last Modified: 2008-02-01
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
0
Comment
Question by:rickchan108
7 Comments
 
LVL 4

Expert Comment

by:habibb
ID: 20310592
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.

0
 

Author Comment

by:rickchan108
ID: 20310594
sorry, it is typo. I mean page footer to be display at last page.

thanks
0
 
LVL 4

Accepted Solution

by:
habibb earned 50 total points
ID: 20310606
place following formula in suppress formula of page footer.

if pagenumber = totalpagecount then
    false
else
    true

0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

Author Comment

by:rickchan108
ID: 20310870
thanks habibb
0
 
LVL 4

Expert Comment

by:habibb
ID: 20311159
Glad its help you.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 20317577
You could also use

OnLastRecord

mlmcc
0
 

Expert Comment

by:expertsexchangetracey
ID: 21301156
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?
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Conditional Page Breaks Based On Grouping 1 35
Cyrstal Reports formula to check IsNull 8 37
Crystal Report sorting 6 16
division by zero in crystal reports 1 9
Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question