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!

Different PageHeader (MainReport - SubReport)

Status
Not open for further replies.

goranm

Programmer
Dec 18, 2001
247
SE
Hi !

I have a report with a subreport placed in the ReportFooter.

The subreport can consist of several pages.

My problem is that I want to have different PageHeader
on the Main Report and the Subreport.

I have created a group in the subreport and I have its
groupheader repeated on every page.
So I can manage to have it like a Page Header.

But how can I supress the Main Reports Page Header when
the subreport is printed ?

(I have tried with a "FormatSection - Supress - formula", but it will not work.)
 
I have tried with a "FormatSection - Supress - formula"...

What formula did you use and what happened?
In some cases I suppress the PH in the main report completely and use a repeating GH in the main report also. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Thanks for your answer.

I have tried to use a variable.

In the detail section I set the variable = True

I have two ReportFooter (a , b)

In ReportFoot a I set the "variable" to False.
In ReportFoot b I have my Subreport.

I used this formula in Page Header:
if "Variable" = False then
True

In this case it became almost right.
But I didn´t get a PageHeader on my first page.

I have tried to move the setting of the variable to different sections,
but I have not succeded to do it right.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top