arunsankarkk Posted February 24, 2010 Share Posted February 24, 2010 HiiI have a report where i need to display subReport inside a subReport. Is this possible to do it in iReport.When i tried that, only first SubReport is getting displayed . How can i fix this problem.Any help in this will be greatly appretiated.. Link to comment Share on other sites More sharing options...
harv Posted February 24, 2010 Share Posted February 24, 2010 Hi,Firstly, yes it can be done. To figure out what your problem is will require a little more detail.If you are using a SQL query for each dataset you need to make sure that any parameters required by the second sub are passed from the first, you do this on the Subreport Properties section on the first sub.It does get a little confusing but making sure that the expected parameters match all the way through is a good start. Also confirm that the queries used do actually return data, I have fallen in this trap before and spent hours trying to fix a problem that didn't exist. Harv. Link to comment Share on other sites More sharing options...
arunsankarkk Posted February 25, 2010 Author Share Posted February 25, 2010 Thank you Harv for your reply.Actually my problem was that the innermost subreport was not getting displayed, eventhough i use a static text field in that subReport.Then i resolved that and i got a new problem of couldnot load innermost SubReport jrxml. This i achieved my giving the complete path of inermost subreport in SubReport Expression. Now its working fine for me.Any way thank you once again.Hope you will help if i come across aome other doubts.Post Edited by arunsankarkk at 02/25/2010 04:28 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