2005 IR Help Posted August 26, 2006 Share Posted August 26, 2006 By: Serge - grappa1 print problem (invalid page index range) 2004-08-23 00:37 Hello, A beginner quesion on Jasper: I'm trying to print out a sample report (provided with Jasper), but receive dori.jasper.engine.JRException: Invalid page index range : 0 - -1 of 0 My code is:: JasperDesign design = JasperManager.loadXmlDesign("c:\FontsReport.jrxml"); JasperReport rep = JasperManager.compileReport(design); JasperPrint print = JasperManager.fillReport(rep, null, (Connection)null); JasperManager.printReport(print, true); Thanks in advance, Serge Link to comment Share on other sites More sharing options...
khireddine.treeteq Posted April 21, 2014 Share Posted April 21, 2014 u have to chek your value parametre( see the ireport inspector) if you have a condition in ur query ... 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