Solved

Putting PageCount on QuickReport

Posted on 1998-05-19
2
1,797 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…

730 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