Last Page Footer
In one report I have a dynamic part that consists of several
master detail bands. This is basically a total section of
a specialized printed invoice. I want this total section printed
on the very bottom of the very last page. How do I do that?
It points all right if I put it in one of the Summary
or Group Footer bands BUT it is printed wherever it happened
to be on every other generated report, I want it on the bottom
of the page.
What is generally the right way to print something on the bottom
of the very last page?
master detail bands. This is basically a total section of
a specialized printed invoice. I want this total section printed
on the very bottom of the very last page. How do I do that?
It points all right if I put it in one of the Summary
or Group Footer bands BUT it is printed wherever it happened
to be on every other generated report, I want it on the bottom
of the page.
What is generally the right way to print something on the bottom
of the very last page?
This discussion has been closed.
Comments
prints on the bottom of the page. If the summary band is static height then
this isn't much of a problem, as the PrintPosition is simply the page height
minus the summary band height. If the summary band is dynamically
stretching in height then you can modify its position using this demo's
approach.
http://www.digital-metaphors.com/tips/AlignSummaryToBottom.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
The approach in the example worked!
Now I have another problem with that same piece of report. I can't keep it together on one page. If there is not enough
space left on the page where the summary band starts printing, I want the whole band jump on the next page.
Is there a methodic to keep the summary band together, that can be combined with the example you posted above?
You are going to need to place a region in the summary band that is the size
of the summary band and is set to Stretch and KeepTogether. This should
cause the report engine to start a new page when the summary band region
can't fit on the current page.
You can test to make sure ther report controls are in the region by dragging
the region in the designer. Programatically, you can assign the Region
property of the controls to set up the relationship that the region is the
parent of the control.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
and it looks like it worked, even though I had a sub-band
on the Summary band.
Is this a miracle, or the region is smart enough to stretch
and accommodate the sub-band as well? ;-)
able to KeepTogether even if there is a stretching subreport inside of it.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com