Don't Print Page Header when Group Header is Printed

B

Bob

I have a report with a Report Header, Page Header and
Section Header and Footer. The Report Header is blank
and the Page Header doesn't print with the Report
Header. There is a page break in the Section Footer so
everytime there is a new section it starts a new page.
On top of the new page is the Page Header, then the
Section Header is under the page header, but I don't want
the Page Header to print on the same page as the Section
Header.

Does anyone know how I can make this report not to print
the Page Header when it prints a Section Header?

Thank you,
 
M

Marshall Barton

Bob said:
I have a report with a Report Header, Page Header and
Section Header and Footer. The Report Header is blank
and the Page Header doesn't print with the Report
Header. There is a page break in the Section Footer so
everytime there is a new section it starts a new page.
On top of the new page is the Page Header, then the
Section Header is under the page header, but I don't want
the Page Header to print on the same page as the Section
Header.

Does anyone know how I can make this report not to print
the Page Header when it prints a Section Header?


To hide the Page header on the first page of a group, use
the group footer's Format event to make the page header
invisible:
Me.Section(3).Visible = False

To display the page header on the other pages, use the group
header to make it visible:
Me.Section(3).Visible = True

Instead of using a PageBreak control in the group footer,
set the footer section's ForceNewPage property to After
Section. Probably won't make a difference, but it's a
cleaner way to do it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top