Solved

Supress page header

Posted on 2013-11-21
9
494 Views
Last Modified: 2013-11-21
Hello all,
I have a crystal report XI report:
it has report header,page header,details(has a subreport), page footer, report footer(has a subreport).
When printing the report footer, how to suppress the page header?
Thanks.
0
Comment
Question by:Star79
  • 5
  • 4
9 Comments
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
You can try using a formula as

OnLastRecord

That will suppress the page header when processing the last record

Right click the page header in the left margin
Click SECTION EXPERT
Click the formula button for SUPPRESS
Enter
    OnLastRecord
CLick SAVE AND CLOSE
Click OK

mlmcc
0
 

Author Comment

by:Star79
Comment Utility
mlmcc,
I put the formula OnLastRecord
 on the formula expert for suppress for the page header, but the page header is getting suppressed in all the pages in addtion to the report footer. I only need it suppressed in the RF
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Since you didn't mention it, I assume there are no groups.

Does the detail section ever split across a page boundary?
If not try this

IN the report header add a formula
WhilePrintingRecords;
Global BooleanVar SuppressPH := False;
""

Open in new window


IN the detail section add a formula
WhilePrintingRecords;
Global BooleanVar SuppressPH;
SuppressPH := OnLastRecord;
""

Open in new window


IN the suppression formula use
WhilePrintingRecords;
Global BooleanVar SuppressPH;
SuppressPH

Open in new window


mlmcc
0
 

Author Comment

by:Star79
Comment Utility
hello mlmc,
RH is already suppressed by design
PH has some logo and this has to be suppressed only in the RF
detail has a subreport which inturn has groups inside it
RF has a subreport
PF has some text and logo.
I did the above that you mentioned.It still suppressed the PH in all the pages.
Thanks.
0
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
Is there only 1 record for the report?

Is the report footer on the last page?

mlmcc
0
 

Author Comment

by:Star79
Comment Utility
The subreport in the details section has multiple rows and the RF is the last page
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
Comment Utility
Try this to suppress the page header

PageNumber = TotalPageCount

mlmcc
0
 

Author Comment

by:Star79
Comment Utility
hello mlmcc, the above worked but I did not understand what it actually means when we put

PageNumber = TotalPageCount in the suppress formula expert of the PH.
Pls let me know.
0
 
LVL 100

Expert Comment

by:mlmcc
Comment Utility
It is just testing if the page being printed is the last page of the report.  If so then suppress the page header

mlmcc
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

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. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now