Putting PageCount on QuickReport

Hi!
I am using QuickReport in my Database programme, I can use PageNumber on my report but I cannot find PageCount(means total number of page).

But it is strange that help menu said it should have PageCount?!

Do you know how to get it? Pls tell me if you know.

James.
jhuiAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
mvz121697Connect With a Mentor Commented:
Place a TQrLabel (QRLabel1) on your form.

Then issue something like this:

QuickRep1.Prepare;   // so the pagecount is set.
QRLabel1.caption:=
  IntToStr(QuickRep1.QRPrinter.PageCount);
QuickRep1.Preview;   // or QuickRep1.Print

Greetings,
MvZ

0
 
ZifNabCommented:
jhui, on which manual (version) did you found out about pagecount?
0
All Courses

From novice to tech pro — start learning today.