ktrinad Posted August 30, 2006 Share Posted August 30, 2006 By: yumi kim - yumikim plz, explain about "printWhen" expression 2003-02-13 21:09 in view menu, band's property I saw "printWhen" expression. how can I use that?? can I change band's color and background?? By: Mark Rhodes - mrhodes2 RE: plz, explain about "printWhen" expression 2003-02-13 21:35 You can't use to print colors in the band itself, but you can workaroud this. I do this on reports to highlight exceptions, eg: when a variance is too great. Add a block graphic to the band you want to hilight. Go to edit, send to back. On the properties of the graphcics in the print when add as logical expression. Eg: "new Boolean($F{fieldname}.doubleValue() > .5)" will print the colored box anytime fieldnames value is > .5. Its as simple as that. Hint: don't make your colors too dark or they are hard to read on paper. 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