Report Footer problem

  • Thread starter Thread starter Sonjay
  • Start date Start date
S

Sonjay

How do I get the Report Footer to print at the BOTTOM of the last page after
the PAGE footer.
Isn't that where the Report Footer is supposed to go?
If I can't do that, How do I get a footer at the bottom of the last page
only, of a multi page report.
I currently have page footers that show Page Numbers & and Current Date on
Each page.
Essentially I want the Company name and phone numbers on the bottom last
page.
Any Ideas or am I missing something?
Thanks
 
How do I get the Report Footer to print at the BOTTOM of the last page after
the PAGE footer.
Isn't that where the Report Footer is supposed to go?

No, that is not where it's suppose to go.
The Report Footer prints directly after the last Detail Record or
After the last Group Footer.
If I can't do that, How do I get a footer at the bottom of the last page
only, of a multi page report.
I currently have page footers that show Page Numbers & and Current Date on
Each page.
Essentially I want the Company name and phone numbers on the bottom last
page.
Any Ideas or am I missing something?
Thanks

Make your report as you normally would with the Page Footer and Report
Footer.

Make sure there is a control set to = [Page] & " of " & [Pages] in the
Page Footer. You can make this not visible if you do not wish to show
it.

Then for each control you wish to display on the final page footer,
place an unbound control where it should display.
Set each of these controls Visible properties to No.
(Do not disturb the controls you want to normally display at the
bottom of each page.

Next code the Report' Page Footer Format event:
If [Page] = [Pages] Then
[PageFooterControlName1] = [ReportFooterControlName1]
[PageFooterControlName1].Visible = True
' Do the same for each other ReportFooter control you wish to show
in the Page Footer.
End If

If you have other controls in the page footer that you do not wish to
display on the final page, set them to Not Visible in the Page Footer
event.

You must leave enough Page Footer Height to print these controls.
I see no reason you can't stack these controls on top of your regular
page footer controls and turn Visible properties on and off as
required.

Next code the Report Footer's Format event:
Cancel = True

Then code the Report Header Format event:

[PageFooterControlName1].Visible = False
' Do the same for each other ReportFooter control you wish to show
in the Page Footer.

The Report Footer information should display at the bottom of the
report where the Page footer normally does.
 
Back
Top