Jasper Report Print when expression field is null or not null

Hello All,

When we use jasper report design there will be a option to display a field by condition basis. Use field property “Print when Expression” option to show by condition basis.

Show when field is null: new Boolean($F{FIELD_NAME} == null)

Show when field is not null: new Boolean($F{FIELD_NAME} != null)

print_when_expression

Happy reporting with jasper!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s