beekerc69 Posted November 23, 2015 Posted November 23, 2015 Can you use an expression to evaluate data and print a particular image file?currently, i have 3 images Red, Yellow and Green (standard grapic stoplights)i stack all 3 at the same X & Y position.for the red one, i set the Print When Expression to $F{STATUS} == 3for the yellow one, i set the Print When Expression to $F{STATUS} == 2for the green one, i set the Print When Expression to $F{STATUS} == 1but this means placing 3 (or in some status displays, as many as 8) icons.I'm hoping there's a way to build an Expression to evaluate one or more dataset fields and have the image resource to be displayed to be determined by the Expression.Can this be done?
hozawa Posted November 25, 2015 Posted November 25, 2015 Yes. Try naming image file to be the result of the expression.
beekerc69 Posted November 27, 2015 Author Posted November 27, 2015 Thanks Hozawaany chance you could post an example or two?thanks
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