J
JimAA
I have a report that needs objects (labels, drawing objects, text boxes with
expressions) in a Report Footer to print at the bottom of the last page of a
multi-page report (or at the bottom of a single page report). After
searching this discussion group it looks like that is not possible. Report
Footers are positioned immediately after the last detail and can appear
anywhere on a page.
Any ideas how I can get the Report Footer to be positioned at the bottom of
the page?
Not finding a solution for the Report Footer, I created text boxes and
labels in the Page Footer section and set the visibile to No. I then used
this code (at the On Format event in the Page Footer properties) to display
on the last page:
Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As
Integer)
If [Page] = [Pages] Then
[TotalDue].Visible = True
[Label143].Visible = True
End If
End Sub
In the print preview everything looks good. The bottom of every page is
blank except the last page, which is the way I want it. However, when I
actually print the
report, the objects print on every page.
Any ideas how I can get these objects to only print on the last page?
Thanks.
expressions) in a Report Footer to print at the bottom of the last page of a
multi-page report (or at the bottom of a single page report). After
searching this discussion group it looks like that is not possible. Report
Footers are positioned immediately after the last detail and can appear
anywhere on a page.
Any ideas how I can get the Report Footer to be positioned at the bottom of
the page?
Not finding a solution for the Report Footer, I created text boxes and
labels in the Page Footer section and set the visibile to No. I then used
this code (at the On Format event in the Page Footer properties) to display
on the last page:
Private Sub PageFooterSection_Format(Cancel As Integer, FormatCount As
Integer)
If [Page] = [Pages] Then
[TotalDue].Visible = True
[Label143].Visible = True
End If
End Sub
In the print preview everything looks good. The bottom of every page is
blank except the last page, which is the way I want it. However, when I
actually print the
report, the objects print on every page.
Any ideas how I can get these objects to only print on the last page?
Thanks.