Board index » delphi » QuickReport's current page

QuickReport's current page


2003-07-23 04:38:21 PM
delphi254
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
 
 

Re:QuickReport's current page

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
"Mike Shkolnik" <XXXX@XXXXX.COM>escribi?en el mensaje
Quote
Just use TSysData control and set the Data property in qrspageNumber value

--
With best regards, Mike Shkolnik
EMail: XXXX@XXXXX.COM
www.scalabium.com

"Manuel Jacquez" <XXXX@XXXXX.COM>сообщи?сообщила ?новостях следующе?
news:XXXX@XXXXX.COM...
>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
>
>