Solved

Putting PageCount on QuickReport

Posted on 1998-05-19
2
1,793 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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