Different last page
Hi,
I have to design a report where the last page should contain only a
picture, all other pages should have a PageStyle band attached with
data on it. The pages must be numbered like page n of m. What would be
my best approach to achieve this. I could ofcourse put the last page in
a separate report, and put the total page count on both reports in a
ppLabel after changing the value, but I wonder if there's a neater way
--
Arno
This discussion has been closed.
Comments
Using Delphi XE and RB12.05
--
Arno
To create a page set description (Page n of m), you can simply place a
TppSystemVariable on your report and set it's type to PageSetDesc. This
will automatically change the pass setting of your report to psTwoPass
which is necessary.
By definition a Page Layer (or PageStyle for versions earlier than 14)
will print behind every page of a report. You could manually hide the
page layer for the last page by checking Report.AbsolutePageNo =
Report.AbsolutePageCount.
Finally the easiest way to create a separate last page of the report is
to use a Summary band with the NewPage property set to True.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thanks Nico,
got it working
--
Arno