Solved

Report page numbering

Posted on 2000-02-25
2
219 Views
Last Modified: 2010-04-04
Hi

How can I give Qick report page no as 1 of 10 , 2 of 10 etc...

can any one suggest me


Regards
Pandian
0
Comment
Question by:Pandian012000
  • 2
2 Comments
 
LVL 8

Expert Comment

by:ZifNab
ID: 2557589
to get the total amount of pages, you first have to prepare the report (thus this results in 2x for creating the report!)

QuickRep1.Prepare;
TotalPages := QuickRep1.QRPrnter.PageCount;
{or? TotalPages := QuickRep1.QRPrnter.PageNumber}
QuickRep1.QRPrinter.Free;
QuickRep1.QRPrinter := nil;

This is the only way to get the total amount of pages, however it can be that in certain circumstances the count can be wrong (1 count less)

for the pagenumber : drop a TQRSysData component on the form and set data property to 'qrsPageNumber'

Regards, Zif.
0
 
LVL 8

Accepted Solution

by:
ZifNab earned 10 total points
ID: 2557599
was meant as an answer
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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 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