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

replace if null


r.snijders
Go to solution Solved by gustavofarias,

Recommended Posts

Good morning all,

Using Jaspersoft in combination with Coresuite.  I made a Text field within the report and enter the next line in the expression Editor. : udfValue("ServiceCall", 13, $F{serviceCall.id}, "FSM_Adresnaam") .

When it is empty it return's Null

But i can not figure out how to replace "Null" in to "". 

I tried the to use: udfValue("ServiceCall", 13, $F{serviceCall.id}, "FSM_Adresnaam").replace("null", "").trim() 

any ID how to replace?

Link to comment
Share on other sites

  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...