Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

rave,   page numbers  - code based reports

Posted on 2011-03-22
2
Medium Priority
?
1,064 Views
Last Modified: 2012-05-11
need  the code  - rave report vy code -  add page numbers
0
Comment
Question by:BdLm
2 Comments
 
LVL 24

Accepted Solution

by:
jimyX earned 500 total points
ID: 35188192
At the event OnPrintPage of the TRvSystem, add the following code:
  With Sender as TBaseReport do
    begin
      //...
      PrintFooter('Page: '+ IntToStr(CurrentPage), pjCenter); // or pjLeft/pjRight
      //...
    end;

Open in new window

0
 
LVL 8

Author Comment

by:BdLm
ID: 35188356

working -  but hat to put it in the on PrintFooter event

///
///   support :  http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_26902682.html?cid=239#a35188192
///

procedure TMainForm.LibRvSystemPrintFooter(Sender: TObject);
begin
   With Sender as TBaseReport do
    begin
      //...
      PrintFooter('Page : '+ IntToStr(CurrentPage), pjCenter); // or pjLeft/pjRight
      //...
    end
end;
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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 my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

885 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