majidalikhn Posted November 2, 2016 Share Posted November 2, 2016 I wish to show a message only if a field that is java.lang.Double is 0.00. Thanks Link to comment Share on other sites More sharing options...
majidalikhn Posted November 2, 2016 Author Share Posted November 2, 2016 /sites/default/files/images/Screenshot%20(11)(1).pngI want this field to show when this lower field is 0.0, how do I do it?/sites/default/files/images/Screenshot%20(12).pngPlease help me out here. thanks Link to comment Share on other sites More sharing options...
udaysriturangi Posted November 3, 2016 Share Posted November 3, 2016 Did you tried print when expression ?? If not once try it ! go to that field >> Right click>> Show Properties >> Print When ExpressionWrite a terenary condition in that Text box! Hope it will help you Link to comment Share on other sites More sharing options...
majidalikhn Posted November 3, 2016 Author Share Posted November 3, 2016 I've tried it, but I' having problem setting the expression, I don't know what expression to set to make my problem go away. Link to comment Share on other sites More sharing options...
Friendly User Posted November 4, 2016 Share Posted November 4, 2016 Print When Expression for the field you want to conditionally display should be something like $F{VOLUNTARY_CONTRIBUTION_AMOUNT_DOUBLE}==0 or $F{VOLUNTARY_CONTRIBUTION_AMOUNT_DOUBLE}.equals(new Double(0.0)) 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