Solved

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

Posted on 2002-06-30
2
699 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

773 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