Solved

rave,   page numbers  - code based reports

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

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…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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