Solved

Putting PageCount on QuickReport

Posted on 1998-05-19
2
1,783 Views
Last Modified: 2013-11-22
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
Comment
Question by:jhui
2 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 1346248
jhui, on which manual (version) did you found out about pagecount?
0
 
LVL 2

Accepted Solution

by:
mvz121697 earned 40 total points
ID: 1346249
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
A short film showing how OnPage and Connectwise integration works.
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now