airvanaems Posted September 12, 2007 Share Posted September 12, 2007 I have to merge two subreports into a single report.. For this i am using a master report "Inventory report.jrxml" and inside this inventory report.jrxml i have mentioned 2 subreports namely "Snmpnode.jrxml" and "Card.jrxml". The master jrxml file is written exactly following the rules by giving the connection expression first and then the subreport expresion. Now while executing this, a popup rises as "The document has no pages". Please identify the problem in my jrxml and reply ASAP. I have attached the 3 jrxml files and the java program to execute them in the zip named inventory.Please this is urgent. Thanks in advance. [file name=Inventory.zip size=5713]http://www.jasperforge.org/components/com_joomlaboard/uploaded/files/Inventory.zip[/file] Link to comment Share on other sites More sharing options...
csbac Posted September 12, 2007 Share Posted September 12, 2007 Does the query return any rows?Sebastian Link to comment Share on other sites More sharing options...
airvanaems Posted September 12, 2007 Author Share Posted September 12, 2007 yes.. when i execute the query individually.. they work fine.. Even when i execute a single jrxml as a seperate report they work fine.. I face the problem only when the 2 subreports are called in the master report.. I think there is something missing in my master jrxml so that the values are not retreived from the database. I think, that my problem is clear now..? Is it.. 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