Justinefal Posted December 18, 2006 Share Posted December 18, 2006 Hi!I would want to understand exactly as to make in order to make to visualize a field if sure condition comes satisfied one.es. if a field has value null i want visualize an other field with a message.You can help me? thanks Justine Link to comment Share on other sites More sharing options...
wegnerk Posted December 22, 2006 Share Posted December 22, 2006 You can use the TextFieldExpression like this: $F{field}.equals("Hello"} ? "then print Not Hello" : "else print this field: " + $F{field2} (if the fields are both string) if you want to test the field whether it is null or not, try $F{field}==null ? "is null" : $F{field} Hope that helps a bit Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now