simon551
IS-IT--Management
- May 4, 2005
- 249
This is the report footer:
="Page " & [Page] & " of " & [Pages]
I want to write code to make the header invisible if the page is 1.
I've tried a few versions of something like this:
Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer)
If Me.ReportFooter.page = "1" Then Me!PageHeaderSection.Visible = False
End Sub
But it's not working. Any ideas?
="Page " & [Page] & " of " & [Pages]
I want to write code to make the header invisible if the page is 1.
I've tried a few versions of something like this:
Private Sub PageHeaderSection_Format(Cancel As Integer, FormatCount As Integer)
If Me.ReportFooter.page = "1" Then Me!PageHeaderSection.Visible = False
End Sub
But it's not working. Any ideas?