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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Page header supression 1

Status
Not open for further replies.

northw

MIS
Nov 12, 2010
140
US
Hi all,
I have an issue with page header supression in my report. I have main report with sub report in report footer, I want to supress the page header when the sub report starts, I have tried "onlastrecord" and boolean based solution, nothing seems to work when the main report and sub report data are just in one page.
any work arounds for this issue?

Thanks in advance!
 
Onlastrecord should work unless you have only 1 record on the page. So what are you expecting if the main and sub are on the same page? What is in the page header that you want to suppress?

-LB
 
Hi Lbass,
Onlastrecord is working but if the main report has only one row of data then the page heared is getting supressed, As I have column header in the page header, I don't want the page header to be supressed even if the main report has only record to display.

Thanks!
 
Create formulas like this:

//{@false} to be placed in the report header of the main report and suppressed:
whileprintingrecords;
booleanvar flag := false;

//{@true} to be placed in the report footer and suppressed:
whileprintingrecords;
booleanvar flag := true;

Then go into the section expert->pageheader->suppress->x+2 and enter:

whileprintingrecords;
booleanvar flag;
flag = true;//note no colon

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top