swathi.reddys2008 Posted December 19, 2012 Share Posted December 19, 2012 pls any one can help me,I am working on ireports. I need to write an expression for example a column quantity which contains values my question is if quatity is zero it shouldn't print zero it should print blank.so how can i write the expression pls help me its urjentThanks in advance Link to comment Share on other sites More sharing options...
ajinkya_c Posted December 19, 2012 Share Posted December 19, 2012 Hi you can achieve it by using following condition in your field expression$F{Field}==0? " " : $F{Field}so that when 0 comes it display it as " " blank space. Link to comment Share on other sites More sharing options...
cjasper Posted December 19, 2012 Share Posted December 19, 2012 There is a printWhenexpression property which you can set for the text field.you can put any expression in that which if true will print the data else will print blank. 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