Suppressing the Page Header on the first page

  • Thread starter Thread starter John S. Ford, MD
  • Start date Start date
J

John S. Ford, MD

I have a report with a page header that I want to suppress on just the first
page of a report. How can this be done?

Thanks in advance,
John
 
try adding the following code to the PageHeader section's Format event
procedure, as

Me.PageHeaderSection.Visible = Not (Me.Page = 1)

i've never used the code before this; it worked for me in an A2000 db
running in A2003, but i didn't test it anywhere else.

hth
 
I have a report with a page header that I want to suppress on just the first
page of a report. How can this be done?

Thanks in advance,
John

Set the PageHeader property of the report to
Not with rpt hdr.
It's found on the Report property sheet's Format tab.
or...
Code the PageHeader Format property:
Cancel = Me.[Page] = 1
 
Thanks Fred,

That was exactly what my app needed.

John

fredg said:
I have a report with a page header that I want to suppress on just the
first
page of a report. How can this be done?

Thanks in advance,
John

Set the PageHeader property of the report to
Not with rpt hdr.
It's found on the Report property sheet's Format tab.
or...
Code the PageHeader Format property:
Cancel = Me.[Page] = 1
 
Back
Top