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!

Do not display Header

Status
Not open for further replies.

CRilliterate

Technical User
Dec 7, 2005
467
US
My SubReport is in Report Footer b.
I have Page Header c that gets displayed on every page.
But I need it not to be displayed when Sub Report is displayed. Thanks

________________________________________
I am using Windows XP, Crystal Reports 9.0 with SQL Server
 
Since the subreport fires after the page header it presents an interesting challenge for the first page.

Perhaps in a section prior to the next page header and prior to the subreport running you can create a formula such as:

whileprintingrecords;
booleanvar NoHeader:= True

Then right click the page header and select section expert->X 2 next to suppress and place:

whileprintingrecords;
booleanvar NoHeader

Then after the subreport runs, reset it in a formula using:

whileprintingrecords;
booleanvar NoHeader:=False

This assumes that you don't want any page headers on any of the pages of the subreport, including the first page, if it's OK on the first page, then just place the first formula before the subreport.

-k
 
How do I 'after the subreport runs, reset it in a formula'?

Thanks



________________________________________
I am using Windows XP, Crystal Reports 9.0 with SQL Server
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top