JasperReports: default value instead of 'null'

后端 未结 5 1008
轻奢々
轻奢々 2020-12-18 23:22

Is there any way to set a default value to a field in a report? I have a lot of String fields in a report and would like them to display \"0,00\" when they\'re null.

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-18 23:50

    You can also select "Blank when null" in the properties of the text field if you want that. Other options are more flexible but this does the trick very quick and easy.

提交回复
热议问题