 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Miha P. Guest
|
Posted: Tue Feb 27, 2007 5:46 am Post subject: Getting total page count within a QReport. Possible or just |
|
|
Hi there y'all! I know this must have been asked like a million times
before but I can't find any such replies in this thread. Also, it's been a
while since I last used QuickReport components so here it goes again:
Is it possible to display/print say a footer label that would be formatted
like "[Current Page]/[Total Pages Count]" or should I do this within code,
like:
Report.Prepare;
Report.QRExpr1.Expression:= 'PAGENUMBER + ''/' + Report.QRPrinter.PageCount
+ '''';
Report.Preview;
....or setting a global variable within QuickRepEndPage event?
I know there's a trick to it I just can't remember what it was...
Thanks for your reply in advance and best to all,
MyK |
|
| Back to top |
|
 |
Miha P. Guest
|
Posted: Tue Feb 27, 2007 6:13 am Post subject: Re: Getting total page count within a QReport. Possible or j |
|
|
OK, the first one seems to wok OK. Thanks anyway!
"Miha P." <Howdee (AT) Email (DOT) si> wrote in message
news:45e37133 (AT) newsgroups (DOT) borland.com...
| Quote: | Hi there y'all! I know this must have been asked like a million times
before but I can't find any such replies in this thread. Also, it's been a
while since I last used QuickReport components so here it goes again:
Is it possible to display/print say a footer label that would be formatted
like "[Current Page]/[Total Pages Count]" or should I do this within code,
like:
Report.Prepare;
Report.QRExpr1.Expression:= 'PAGENUMBER + ''/' +
Report.QRPrinter.PageCount + '''';
Report.Preview;
...or setting a global variable within QuickRepEndPage event?
I know there's a trick to it I just can't remember what it was...
Thanks for your reply in advance and best to all,
MyK
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|