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

Page header carry over 1

Status
Not open for further replies.

keo216

Technical User
Nov 26, 2002
102
0
0
US
I asked this question a while back and didn't get any replys so will try again.

I have a main report with a sub-report. The page header from the main report wants to carry over to the sub-report. The subreport prints fine, but at the top of each page the main report page header prints.

Is there anyway to tell it to not print when it's the sub-report?

keo kowen@rrwa.net
 
Try this...

1) create a new formula @TurnPageHeaderOff =
WhilePrintingRecords;
Global BooleanVar SuppressHeader := True;
Place this formula field on the report before the subreport.

2) create a new formula @SuppressHeader =
WhilePrintingRecords;
Global BooleanVar SuppressHeader;
SuppressHeader

3) right mouse click on the pageheader section and do "format section"
click "Suppress (No-Drill)" with the condition of when
{@SuppressHeader} = True

Hope this helps.
 
thanks CH, it worked like a charm. kowen@rrwa.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top