proximus Posted November 29, 2010 Share Posted November 29, 2010 Hey,I tried to use the first time “conditional styles” for my report and get a „field not found“ exception like:net.sf.jasperreports.engine.design.JRValidationException: Report design not valid: Field not found: styleFlag Field not found: styleFlag at net.sf.jasperreports.engine.design.JRAbstractCompiler.verifyDesign(JRAbstractCompiler.java:258) at net.sf.jasperreports.engine.design.JRAbstractCompiler.compileReport(JRAbstractCompiler.java:140) at com.jaspersoft.ireport.designer.compiler.IReportCompiler.run(IReportCompiler.java:498) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997) The exception don't make sense. If I use the field “styleFlag”(boolean) in the report I get the true or false value from the data source, but as a condition the value of the test field is not available.By the way: The condition phrase for the style is ($F{styleFlag}.equals( true ))ThanksiReport Designer 3.7.6 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