Changes

Jump to: navigation, search

Modify an iReport Template

764 bytes added, 15:48, 17 September 2013
Fields, Variables, and Parameters
Adding a variable manually:
# From the '''Report Inspector''' ''' right click -''' on the '''Variable''' tree and choose '''Add Variable'''.#: [[Image:IReport VariableAdd3.png|center|300px|''Add Variable'']]<div align="center"> ''Add Variable''</div># In the '''Properties''' pane, #: [[Image:IReport VariableAdd3VariableAdd4.png|center|300px|''Select aggregation functionVariable Properties Pane'']]<div align="center">''Variable Properties Pane''</div>## Enter a Variable name (e.g. SumAreaSize} ## Select the variable class (i.e. the type of variable to be created. Normally this is the same as the type of the field to be used). ## Choose the '''Calculation''' type of calculation, normally '''Sum''' or '''Count'''## Enter a '''Variable Expression'''. Normally this is simply selecting the field to be summed or counted (e.g. '''$F{areaSize}''')#: [[Image:IReport VariableAdd5.png|center|300px|''Edit Variable Expression'']]<div align="center">''Edit Variable Expression''</div>## Choose OK# Drag the variable to iReport template as desired.
==Report Query Filtering==
319
edits

Navigation menu