msvas999 Posted July 23, 2012 Share Posted July 23, 2012 I am new to design jasper reports.I have to write if else expression in the following way.($F{ATTENDED_ON}.equals("null") ? $F{POSTED_DATE}: $F{ATTENDED_ON}) But this is not working..How to write this...thanks in advance Link to comment Share on other sites More sharing options...
maartenvd84 Posted July 23, 2012 Share Posted July 23, 2012 Can you try this:($F{ATTENDED_ON} == null ? $F{POSTED_DATE} : $F{ATTENDED_ON})(sorry double ==)Post Edited by maartenvd84 at 07/23/2012 10:41Post Edited by maartenvd84 at 07/23/2012 10:42 Link to comment Share on other sites More sharing options...
meatwad Posted July 25, 2012 Share Posted July 25, 2012 What are the types of those fields? 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