tberman333 Posted April 25, 2007 Share Posted April 25, 2007 I am using a slightly old version of iReports (v. 0.5.2), but I am hoping someone can still help me out with this... I want to select a differnt gif image in my report based on a parameter. The current image has this in the image expression: "S:\Reports\Images\fm.gif" I wanted to create a parameter called "ImageName" and change the expression to this: "S:\Reports\Images\$P{ImageName}.gif" The parameter is a string with a default of "fm". This does not seem to work. When I run the report I get this error message: ErrorÂfillingÂprint... net.sf.jasperreports.engine.JRException:ÂImageÂnotÂfoundÂ:ÂS:ReportsImages((java.lang.String parameter_ImageName.getValue())..gif Any help that anyone could provide would be greatly appreciated. Thanks in advance! 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