krishnan.raghupathi Posted July 13, 2014 Share Posted July 13, 2014 I need to create that has the following structure - BU Name 1 Table 1 (which has multiple rows corresponding to BU Name1) <Page Break> BU Name 2 Table 2 (which has multiple rows corresponding to BU Name 2) I am new to JasperReports so I am not sure how to get this done. I tried to used ReportGroup but it was not working. Essentially I need a way for the report to break the data into multiple tables based upon a grouping variable.- Krishnan Link to comment Share on other sites More sharing options...
rajesh.sirsikar Posted July 13, 2014 Share Posted July 13, 2014 Hi Krishnan,I have created a demo report and have uploaded here to group by a specific field and then adding a page break to display each group in a different page.If you have any doubts, please let me know.Rajesh Sirsikarwww.rajeshsirsikar.com Link to comment Share on other sites More sharing options...
krishnan.raghupathi Posted July 14, 2014 Author Share Posted July 14, 2014 Thanks for the report - I tried it out and it works. But I was looking for a way to do it with a table instead of just fields from the main report data source. The output needs to look like - BU Name: BU Name1Column1 Column 2 Column 3Column 4 Thanks,Krishnan Thanks,Krishnan Link to comment Share on other sites More sharing options...
rajesh.sirsikar Posted July 14, 2014 Share Posted July 14, 2014 Hi Krishnan...Thats easy right...There are two ways you can achieve it. 1) You can edit the borders of field variable and join there borders. 2) Create a Table from palette. But in this case, you need to create a new dataset and it will not be grouped. So the best way is to cretae the border or create a rectangle around each field. 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