Suppressing the Page Header on the first page

  • Thread starter John S. Ford, MD
  • 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
 
T

tina

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
 
F

fredg

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
 
J

John S. Ford, MD

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
 

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