sampathku Posted February 24, 2010 Share Posted February 24, 2010 Hello All, I am trying to check a simple behavior of paramaterized reports. I am pasing parameters to an SQL query in iReport. I am getting "The document has no pages" message in iReport though there is data corresponding to the given parameters in the db. However, I get a proper report if I hard-code the query parameters in the query, I get the correct report I did the same experiment by putting the report on Jasper Server. I get the error "The report is empty." Any idea why this happens. I am trying to make this report a subreport & drill-down to this from a main report by passing URL parameters. Still I get the same message "The report is empty." I get the correct report if I put the query with hard-coded parameters on the Jasper Server as well. So the problem is not with data, but with some other report config??? Not sure what. Regards,Sampath Link to comment Share on other sites More sharing options...
mrcaffeine Posted February 25, 2010 Share Posted February 25, 2010 please attach your parameter definition and the query. Link to comment Share on other sites More sharing options...
jbl429 Posted February 26, 2010 Share Posted February 26, 2010 Are you passing these parameters properly to the subreport? Link to comment Share on other sites More sharing options...
swood Posted February 26, 2010 Share Posted February 26, 2010 Did you define input controls for the report in JasperServer? ShermanJaspersoft 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