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

Suppress Page Heading while printing sub-reports

Status
Not open for further replies.

Raparla

IS-IT--Management
Aug 7, 2000
9
US
I have a main report and one sub-report and I am printing at the main report footer.

I want to suppress main report heading when ever sub-report begins.

Is there any way to do this?

Please help.

Thank you
 
You could place the report header in a dummy (constant or changes once per subreport instance) group header and suppress that group header using the following expression:

InRepeatedGroupHeader

Cheers,
- Ido
ixm7@psu.edu
 
By the "Main report heading" I think you mean the page header...don't you??

You would have a report header followed by a number of pages with each page having a page header and footer and then the report footer (where you want the subreport to show)

and you want the page header to be suppressed when in the report footer

in the section expert for the page header in the conditional suppress add the formula

WHilePrintingRecords;
NextIsnull(table.Group 1 field);

This should suppress the page header when all records hve been processed. Make sure the record footer has the "new page before" selected

Hope this works for you

Jim
 
I use the following into the PageHeader suppres formula:

OnLastRecord Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top