carter_zhou Posted August 25, 2012 Share Posted August 25, 2012 I'm a beginner ,How can I made the cell red when value is negative? Link to comment Share on other sites More sharing options...
pumaking Posted August 28, 2012 Share Posted August 28, 2012 Hello,you can use conditional styles for that. Therefore you need to create a parent style first (Report inspector/Styles). Then you create a conditional style with the formatting options that you like.In that conditional style you can use an expression like $F{FIELD}<0 . The problem is that as far as I know you cannot reference to the textfield value itself, you always have to use a specific field. So you need to create a conditional style for every field that you want to be conditionally formatted.After doing this you have to apply the newly created style to your textfield. 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