csaadaam Posted July 29, 2010 Share Posted July 29, 2010 Hi! I'm trying to create a report with the following structure:Group1 (CostAccountHead)->Group2(CostAccountItem)-->Group3.1(CostAccountValue)-->Group3.2(VatDetails) The CostAccountValue and VatDetails tables have the CostAccountItem in common, so i'd like to report them, grouped like this.The problem is, i would like to list the CostAccountValue entries and then the VatDetails entries, like this: Head1Item1Values:value1value2 VAT detailsvalue1value2 Item2Values...VAT details... Head2... And so on. I am not able to put two groups after each other , only group in group.I think two subreports are not the solution, b/c it then would be:Head1Item1ValuesItem2Values...VATVATVAT And so on. But, if i try to put them in one group, i think the outcome would be:Head1Item1value1VAT1value2VAT2And that would be just bad. Is there any solution? I've tried also in iReport and in the XML, not seeing the way out.Should i just make two reports (or two subreports in one)? It would be very nice to see it the way i explained above. Thanks Link to comment Share on other sites More sharing options...
lucianc Posted July 30, 2010 Share Posted July 30, 2010 I don't see why two subreports wouldn't do it.You would have the master report iterate on CostAccountItems, and for each one subreport that lists CostAccountValue and a second one that lists VatDetails.Regards,Lucian Link to comment Share on other sites More sharing options...
csaadaam Posted August 9, 2010 Author Share Posted August 9, 2010 Could you post some tutorial or example?In all the tutorials i could find, i see only subreport after subreport, individually.Thanks Link to comment Share on other sites More sharing options...
csaadaam Posted August 9, 2010 Author Share Posted August 9, 2010 I just found the right example. Thank you very much for your help! 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