Changes

Jump to: navigation, search

Summarize iReport Template Data

89 bytes added, 19:16, 19 September 2013
Displaying Totals
<ol start="5">
<li>The '''Variable Expression''' field specifies the expression that will be provided to the variable. Typically, this will be the value of a field in the report. To specify a field in the report:</li><ol type="a"><li>Edit the edit the '''Variable Expression''' field.</li>[[Image:The IReport VariableAdd5.png|center|500px|''Variable Expression editor window displays.Editor'']]<lidiv align="center">From the Objects and expressions tab, select '''Fields'Variable Expression Editor'' from the left pane.</lidiv></li>From  In addition to the middle pane at summary functions available on the bottom of variable, specific expressions can be used in the Expression editor window, double-click the name of the field that you would like Editor to use in the calculationdefine values.</li>For example:{| class="wikitable" width="600"|-<li>Click the | align="center" colspan="2" | '''ApplyTable 5. Reset Types''' button.</li>:The Expression editor window closes. The Add/modify variable window displays the selected field in the Variable Expression field. |-| width="150pt" | '''Operation'''<li>Click the | width="450pt" | '''OKExpression''' button|-| Division || $F{areaSize}/$V{REPORT_COUNT}|-| Addition || $F{areaSize} + 500.</li>0|-| Subtraction || $F{areaSize} - $P{ClearedArea}|-| Multiplication || $F{areaSize} * $V{REPORT_COUNT}|-:| Concatenation || The Add/modify variable window closes and the variable that you just added is listed as a variable in the Library paneinitialised at each new group.|}</center>   
</ol>
</ol>
319
edits

Navigation menu