Jump to content
We've recently updated our Privacy Statement, available here ×

Problem with SubReport


mahe1987

Recommended Posts

Hi,

I am using iReport 2.0.3 version,

In main report i am using subreport , for both i am having same parameters. Both reports are working individually with parameters.

my problem is

main report doesnot contain data but  subreport contains data for the given parameters, but on running main report it is displaying "The Document has no pages"

 

Please Help Me !!!!!!

 

Thanks & Regards

Mahendra

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

 First thing : are you sure that the sub-reports are working fine? That is, are they working if you test them as Main reports ??

If  they are working, then your troubles may come from the parameters you are passing to them when they are sub-reports. Have you done the right mapping. To be sure of that, print the parameters in the sub reports : as there is blank page, use the "nodata" section to put your parameters in and set the right property for the main report to have the nodata section printed when the query returns nothing.

This might help you to identify your problem

Link to comment
Share on other sites

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...