Headers on a report


G

Guest

I would like for my report to print a header on each page. I do not want to
use page header because it prints under the report header (which I am using
to print the name of the report). Is there a way to place a header on a
report similar to what is in MS Word? Thanks for any help.
 
Ad

Advertisements

G

Guest

I just tried this out again and the header only prints on the first page
(which is fine) but will not print on subsequent pages. Here is the code
that I added on the ReportHeader event:

Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As Integer)
Me.[PulteLogo].Visible = ([Page] <> 0)
Me.[HeaderBold].Visible = ([Page] <> 0)
Me.[HeaderDate].Visible = ([Page] <> 0)
Me.[HeaderLine].Visible = ([Page] <> 0)
End Sub
 
Ad

Advertisements

G

Guest

The code should be located on the OnFormt event of the Page Header , and not
on the Report Header

--
HTH, Good Luck
BS"D


dwaynesworld013 said:
I just tried this out again and the header only prints on the first page
(which is fine) but will not print on subsequent pages. Here is the code
that I added on the ReportHeader event:

Private Sub ReportHeader_Format(Cancel As Integer, FormatCount As Integer)
Me.[PulteLogo].Visible = ([Page] <> 0)
Me.[HeaderBold].Visible = ([Page] <> 0)
Me.[HeaderDate].Visible = ([Page] <> 0)
Me.[HeaderLine].Visible = ([Page] <> 0)
End Sub

dwaynesworld013 said:
That works just great. Thanks!!
 

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