Changes

Jump to: navigation, search

Format an iReport Template

15 bytes removed, 17:33, 7 April 2014
no edit summary
# On the '''Properties''' pane select the '''Text Field Expression''' and open the '''Text Field Expression Editor'''.
#: [[Image:IReport Charts5.png|center|500px|''Text Field Expression Editor'']]<div align="center">''Text Field Expression Editor''</div>
# To change the way a particular field is displayed you can use basic "ïfif-then-else" logic as in other [[Summarize i-Report Template Data#Variable Expressions|Variable Expressions]]. This follows the pattern: $F{field} == null ? “Something"Something" : $F{field}
Or nested:
$F{field} == null ? “Something"Something" : $F{field} == “SomethingElse” "SomethingElse" ? “Something Else“ "Something Else" : $F{field}
{{note| The type of field is important (string, float, double, int, date). Stick with strings if you can.}}
Example:
$F{blockWater} == null ? “No "No value" : $F{blockWater}
{{NavBox HowTo Standardizing Data Analysis and Information Reporting}}
[[Category:VIE]]
1,068
edits

Navigation menu