Discussion:
QuickReport's current page
(too old to reply)
Manuel Jacquez
2003-07-23 08:38:21 UTC
Permalink
Hi newsgroup,
A newie question:

I have found that theres a SysExpresion in QuickReport to show the QReport's
total pages number and some other data, but how can I get the current page
number and on which event (Band.BeforePrint or ???) should I set that value
to display "Page 5 of 12" on the footer?

TIA
Manuel
Manuel Jacquez
2003-07-27 07:26:59 UTC
Permalink
Sorry,
Wrong question... what i really need is the total number of pages that a
QReport has...
and where should I update that value (QRBandBeforePrint???)
ie. is there something like:
QRlabelTotalPages.caption := 'of ' +IntToStr(QRep.PageCount);

Thanks
Manuel
Just use TSysData control and set the Data property in qrspageNumber value
--
With best regards, Mike Shkolnik
http://www.scalabium.com
Post by Manuel Jacquez
Hi newsgroup,
I have found that theres a SysExpresion in QuickReport to show the
QReport's
Post by Manuel Jacquez
total pages number and some other data, but how can I get the current page
number and on which event (Band.BeforePrint or ???) should I set that
value
Post by Manuel Jacquez
to display "Page 5 of 12" on the footer?
TIA
Manuel
Loading...