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

Dynamic text depending on content


dercognus

Recommended Posts

Hi all,

I added some textfields to a report which contain different value. It is possible that these values are "null". I want to check if the contant is "null" and if so set the text in this textfield to a default char (say "-"). Can anybody help me how I this can be done?

Thanks in advance

Cognus

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

You could use a <printWhenExpression /> for your report element. You can define 2 report elements with the same x, y, width and height, one containing the valid data, and the other exposing only the '-' character. Using their printWhenExpression you can make them visible or no in your document, depending on the "print when" condition.

Hope this helps,

sanda

Link to comment
Share on other sites

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