Dynamic Summary-band always on bottom ..
Hi!
We are using D5 with RB7.04 Enterprise.
I have the problem that we must print a dynamic Summaryband alsways on
the bottom of the last page. On the Summary could be some
Child-Subreports. So I don't know the exact height of this band.
I tried to get the final Height of this Band in the different Events
like (Summery.BeforePrint, BeforeGenerate, AfterPrint, AfterGenerate),
but I never get the final height
(showmessage(FloatToStr(Summary.Height)) and so I can't set the
Summary.Printposition to the correct position (pagelength -
SummaryHeight).
The best way would be have the option to set the PrintPosition to
something like -1 which means, calculate the final Heigth and than set
Printposition to Pagelength - Final Height.
Is there any way to handle this?
Gruß aus den Bergen
Günter
We are using D5 with RB7.04 Enterprise.
I have the problem that we must print a dynamic Summaryband alsways on
the bottom of the last page. On the Summary could be some
Child-Subreports. So I don't know the exact height of this band.
I tried to get the final Height of this Band in the different Events
like (Summery.BeforePrint, BeforeGenerate, AfterPrint, AfterGenerate),
but I never get the final height
(showmessage(FloatToStr(Summary.Height)) and so I can't set the
Summary.Printposition to the correct position (pagelength -
SummaryHeight).
The best way would be have the option to set the PrintPosition to
something like -1 which means, calculate the final Heigth and than set
Printposition to Pagelength - Final Height.
Is there any way to handle this?
Gruß aus den Bergen
Günter
This discussion has been closed.
Comments
Take a look at the following example of moving a dynamic summary band and
all of its drawcommands to the bottom of the last page. This should get you
on the right track.
http://www.digital-metaphors.com/tips/AlignSummaryToBottom.zip
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I modified my printing system and now it works with every report very well.
Thank you!
Gruß aus den Bergen
Günter