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 Pahe Header When Group footer is displayed

Status
Not open for further replies.

inspi

Technical User
May 24, 2006
50
US
Hi,

I've the below report structure

REport Header
PAge Header
Group Header
DEtails
Group Footer 1a
Group Footer 1b
Group footer 1c

I dont want Page header to display in the report if GF 1b and GF1c are displayed.

Is there anyway to do this?

 
Create two formulas in the field explorer->formula->new:

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

//{@true} to be placed in Group Footer 1b and suppressed:
whileprintingrecords;
booleanvar flag := true;

Then in the section expert->page header->suppress->x+2, enter:
whileprintingrecords;
booleanvar flag;
flag = true; //note no colon

-LB
 
Hi LB,

I tried. But its still showing the PH.
 
Sorry. ITs working. But the only thing is, when details are just about one page, in the next page, page header is not getting displayed. Its starting with Group footer 1a. I need page header to be displayed there as well.
 
Did you place {@true} in GF1_b? You could also add {@False} to the GF1a section, but it shouldn't be necessary.

-LB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top