Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

suppress the pageheader 1

Status
Not open for further replies.

jpdmdc

Programmer
Mar 10, 2005
115
Hi,

I use Crystal Reports 10 on Oracle 9i database. I want to suppress the pageheader when my subreport in report footer is showing up. If my main report ends at page no. 38 and if my subreport in the report footer starts from page no. 39 then the pageheader of main report should be suppressed.

Could someone suggest how to do this please!

Thank you!!
 
I haven't tested this, but something like this should do the trick. Set a global variable to True on the last record in a page footer formula:
Code:
WhilePrintingRecords;
Global BooleanVar gb_last_main_page;
IF OnLastRecord THEN gb_last_main_page := TRUE
Se the following expression in the Suppress attribute of the page header:
Code:
WhilePrintingRecords;
Global BooleanVar gb_last_main_page;
gb_last_main_page;

Cheers,
- Ido

Visual CUT & DataLink Viewer:
view, e-mail, export, burst, distribute, and schedule Crystal Reports.
 
Thank you so much IdoMillet! It worked like charm!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top