Solved

rave,   page numbers  - code based reports

Posted on 2011-03-22
2
1,045 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 125 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
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…

685 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