ed4becky Posted October 5, 2006 Share Posted October 5, 2006 I have a conditional style that sets the background to red if a column field is above a certain threshold. Works fine. But I would like to generalize it - right now I have a style customized for each column (if $F{col1} < 0, if $F{col2} < 0…) How can I set a variable $V{temp} = $F(col1) before evauluating the style for col1, then $V(temp) = $F{col2) before setting the style for column 2, etc, So that I can generalize the consition to if($V{temp} < 0… Where would the setting of the $V value be put? I need it to potentially be reset as I process each (of 13) columns. Ed Link to comment Share on other sites More sharing options...
mmflynn Posted June 20, 2007 Share Posted June 20, 2007 I'm trying to solve a similar problem if anyone has any suggestions! Mary Link to comment Share on other sites More sharing options...
mmflynn Posted June 20, 2007 Share Posted June 20, 2007 I'm trying to solve a similar problem if anyone has any suggestions! Mary Link to comment Share on other sites More sharing options...
arunvishvin Posted June 22, 2007 Share Posted June 22, 2007 i am getting a bit confused by the problem but tell me why do you want to set the values of different column to the same temp variable??? 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