I tried your code and I got an Invalid Qualifier error message.
It idendified the "Me.PageHeader.Visible=False" text as the problem (it actually highlighted the PageHeader text only). I also attempted to write the code in the On Page property of the report but the same error message occurred.
Sorry I misread the question. If you want the page header info to appear only on the first page, use the Report Header, but since you want the page header info to appear on all pages "except" the first one, use this:
(I named my Page Header PgHdr, change the code to match the name of your Page Header, just don't use PageHeader)
Private Sub PgHdr_Format(Cancel As Integer, FormatCount As Integer)
If Me.Page = 1 Then
Me.PgHdr.Visible = False
Else
Me.PgHdr.Visible = True
End If
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.