Solved

How i can print the number of pages on Quick Report?

Posted on 2002-06-30
2
697 Views
Last Modified: 2007-12-19
HI,
Can someone say me or send sample source about this - print of number of pages like this

page 1 from 45

How i get page count of report created with Quick Report?

Thanks for any help

Best regards
0
Comment
Question by:darkloser
2 Comments
 
LVL 3

Accepted Solution

by:
marcoszorrilla earned 50 total points
ID: 7120590
You must do a prepare before  and then store the value in a variable.
var
nPages:Integer;

Application.CreateForm(TfrLstFichas, frLstFichas);
frlstfichas.ListaFichas.Prepare;
nPages:=frlstfichas.Listafichas.qrprinter.PageCount;

Now you put a Qrlabel near the Actual Page and do something like that:
QrLabel1.Caption ='of '+IntTostr(nPages);

frlstFichas.ListaFichas.Print;

Best Regards.
Marcos.
0
 
LVL 3

Expert Comment

by:VSF
ID: 7120681
BRAZIL 5 times WorldCup Champion!

Congratulations too to all Brazilian Experts and those that beleived we would be world's number one (one more time).

Victory Fernandes, a proud Brazilian!
www.victory.hpg.com.br
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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 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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

757 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

23 Experts available now in Live!

Get 1:1 Help Now