Solved

Report page numbering

Posted on 2000-02-25
2
215 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
Comment Utility
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
Comment Utility
was meant as an answer
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
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…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

728 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

11 Experts available now in Live!

Get 1:1 Help Now