Report footer position / pad blank detail lines

G

Guest

Does anyone know how to fix a report footer position / pad blank detail
lines? I need the footer (summary) section at bottom of page regardless of
how many detail lines are displayed. At present the report pulls up the
footer to half-way down the page when only a few detail lines exist.

thank you
 
F

fredg

Does anyone know how to fix a report footer position / pad blank detail
lines? I need the footer (summary) section at bottom of page regardless of
how many detail lines are displayed. At present the report pulls up the
footer to half-way down the page when only a few detail lines exist.

thank you

You really don't need to pad the footer with lines, just have the data
from the report footer print in the page footer area.

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.

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's 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.
 
G

Guest

Thanks Fred.
I would have expected a simple property to 'place footer on bottom of last
page' - there must be millions of multi-page reports that place the summary
at the end of the last page.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top