Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1847
  • Last Modified:

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.
0
jhui
Asked:
jhui
1 Solution
 
ZifNabCommented:
jhui, on which manual (version) did you found out about pagecount?
0
 
mvz121697Commented:
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

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now