5.6 Report Handler Example

5.6.1 Calculate Page Total

5.6.2 Band Rewinding

In this example (handlers.srt in the examples/docExamples/script directory) you will use report-level scripts to calculate the per-page total of sales over and below $1,000. It uses handlers to perform the following tasks:

Note: Set your Repository location to examples/docExamples/script. See Configuring a Repository in Getting Started for instructions.

In the page footer, display the sales totals for the current page over and below $1,000.

Highlight the rows with sales over $1,000.

Figure 6. Report Handler Example (handlers.srt)

 

<< 5.5 onPrint Handler © 1996-2013 InetSoft Technology Corporation (v11.5) 5.6.1 Calculate Page Total >>