D
Dennis
Hi,
I want to suppress the page footer on all pages of the report except the
last page.
In the report's On Open event, I run the following code:
pintPgFootHeight = Me.PageFooterSection.Height ' Save height for later
Me.PageFooterSection.Height = 0
Me.PageFooterSection.Visible = False
In the reports On Page Footer Section Format event, I have the following code:
If [Page] = ([Pages]) Then
Me.PageFooterSection.Height = pintPgFootHeight
Me.PageFooterSection.Visible = True
End If
The page footer prints on every page with this code.
I also tried the follow code in the On PageFooterSection Print event:
If [Page] = ([Pages] ) Then
Me.PageFooterSection.Height = pintPgFootHeight
Me.PageFooterSection.Visible = True
End If
And in this case, no footers are printed on any page.
Any suggestions?
I want to suppress the page footer on all pages of the report except the
last page.
In the report's On Open event, I run the following code:
pintPgFootHeight = Me.PageFooterSection.Height ' Save height for later
Me.PageFooterSection.Height = 0
Me.PageFooterSection.Visible = False
In the reports On Page Footer Section Format event, I have the following code:
If [Page] = ([Pages]) Then
Me.PageFooterSection.Height = pintPgFootHeight
Me.PageFooterSection.Visible = True
End If
The page footer prints on every page with this code.
I also tried the follow code in the On PageFooterSection Print event:
If [Page] = ([Pages] ) Then
Me.PageFooterSection.Height = pintPgFootHeight
Me.PageFooterSection.Visible = True
End If
And in this case, no footers are printed on any page.
Any suggestions?