Jump to content

Problem with passing parameters


sampathku

Recommended Posts

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

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...