ktrinad Posted August 31, 2006 Share Posted August 31, 2006 By: T.Gopalakrishnan - gopal03 Hide field 2003-09-15 05:52 How to hide an field in iReport conditionally. Can an one provide a sample snippet for this By: Mark Rhodes - mrhodes2 RE: Hide field 2003-09-16 08:17 Use the print when expression on the property of the field. It can be any logical java expression. By: Andy Tan - tanyd RE: Hide field 2003-09-19 01:00 How ablout to the format of Print when expression? a sample please. thanks a lot. By: Marcelo - mike81 RE: Hide field 2003-09-23 06:38 Hi. I wait it serves you this, but it looks for in the forum, here there is but in this respect. new Boolean($V{var1}=="val") or new Boolean($V{var1}.doubleValue()==0) or new Boolean($V{var1}.doubleValue()!=0).... Greetings. By: Gregory A. Swarthout - gswarthout RE: Hide field 2003-09-23 09:13 > Hi. > > I wait it serves you this, but it looks for in the forum, here there is but in this respect. > > new Boolean($V{var1}=="val") NO!!!!!!!!!!!!!!!!!!! Never use == to compare strings! Use .equals("val") or you won't like the results. 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