Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1069
  • Last Modified:

rave, page numbers - code based reports

need  the code  - rave report vy code -  add page numbers
0
BdLm
Asked:
BdLm
1 Solution
 
jimyXCommented:
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
 
BdLmAuthor Commented:

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

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now