Tuesday, September 4, 2012

JasperReports: default value instead of 'null'

Supposing the field name is "value", in the "Text Field Expression", write:
($F{value} != null) ? $F{value} : "0.00"

http://stackoverflow.com/questions/2402237/jasperreports-default-value-instead-of-null

No comments:

Post a Comment