Solved

crystal report supress report footer

Posted on 2007-11-18
7
2,219 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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
Crystal Reports 9 and Subreports 3 102
display n/a in column 2 45
Crystal Formula to "conditionally count/sum" 3 78
Join Number Parameter with commas 8 37
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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

752 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