Click to See Complete Forum and Search --> : conditional display/print page header and corresponding group footer


rlxyz0
November 22nd, 2008, 01:57 PM
I am struggling on how to display/print different pager headers and corresponding group footers together. I am using Crystal Report 9

Here is my report layout and scenario


Report Header (suppressed)

Page Header a
- some info from DB dateset such as company name etc.
Fiscal Year xxxx
Page header b
- same info as in page header a
Total Years

Group Header #1 (currency) (suppressed)

Group Header #2 (Company Name)

Group Header #3 (Fiscal Year)

Group Header #4 (another field from dataset for grouping purpose) (suppressed)

Details

Group Footer #4 (suppressed)

Group Footer #3 (New Page After checked)
Crosstab for summarized financial data for a fiscal year.
Will have more than one year for each company.
xxxx in "Page Header a" will change accrodingly

Group Footer #2 (New Page After and Reset Page Number After checked)
Another crosstab for summarized financial data for all fiscal years for a company

Group Footer #1 (suppressed)

Report Footer (suppressed)

Page Footer - display Page N of M


Here is what I want to achieve:
when display/print the report, "Page Header a" should be on the same page as "Group Footer #3", and "Page Header b" should be on the same page as "Group Footer #4". Each crosstab in GF3 and GF2 may expand into multiple pages. The corresponding page header should be displayed on each page.

I was thinking conditional suppress might work for this. But I am having trouble to figure out how ...

Any help is highly appreciated.

rl