mahe1987 Posted July 17, 2010 Share Posted July 17, 2010 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 & RegardsMahendra Link to comment Share on other sites More sharing options...
Gaby38 Posted July 17, 2010 Share Posted July 17, 2010 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 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