Jump to content
We've recently updated our Privacy Statement, available here ×

use expressions in iReport fields


Javix

Recommended Posts

I use iReport 2.0.2 an an XML data source for my report.

 

Why is it not possible (it doesn't work anyway) to use an expression like:

Code:

$F{receiverStreet} + " " + ($F{receiverHouseBox}.equals(""«»)? "" : $F{receiverHouseBox})

in a textfield?

If in my xml-file receiverHouseBox(String) value is null or equals a "", so the line is empty evenn if there is a receiverStreet value.

Can anybody to explain me that? Thanks.

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...