2006 IR Open Dicussion Posted September 4, 2006 Share Posted September 4, 2006 By: cemoi58 - cemoi58 Display an image when a condition is true 2006-01-04 08:17 Hello, I would like know how to make to display an image only when a field (for example "PersonID") of the datasource is equal to 1 or 2? Could you give me the expression to make that please? Thank you! By: C-Box - c-box RE: Display an image when a condition is true 2006-01-04 10:53 use this as PrintWhenExpression: new Boolean($F{PersonID}.intValue() == 1 || $F{PersonID}.intValue() == 2) that's it! (Assume that PersonID is an Integer field) hth C-Box By: cemoi58 - cemoi58 RE: Display an image when a condition is true 2006-01-05 02:07 Ok thank you! It works!!! :-) :-) :-) 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