sohbati Posted April 14, 2009 Share Posted April 14, 2009 HiI have used crosstab in jasper report , my result data is too much and the displayed grid by jasper report is a lot of pages without showing header and footer.Now I want to put page header and footer in all pages How can i do that ?Thanks in advance. Link to comment Share on other sites More sharing options...
phantastes Posted April 14, 2009 Share Posted April 14, 2009 Hi,Put a subreport in you report and then put the crosstab in the summary band of the subreport instead of in the main report.I hope that makes sense! Magnus Link to comment Share on other sites More sharing options...
sohbati Posted April 15, 2009 Author Share Posted April 15, 2009 Thank you for reply. It worked ! thank you.It is very good solution .But I have another related question !Is there a way useing crosstab with page header and footer without using SubReports ?Because i save the compiled jasper file in a database and I don't want to save 2 files .Post Edited by reza sohbati at 04/15/09 10:56 Link to comment Share on other sites More sharing options...
phantastes Posted April 23, 2009 Share Posted April 23, 2009 Hi,I'm glad it worked for you. No I don't know of any other way to solve the issue with crosstabs than to use a subreport.But I wonder if you could jar your report files into one .jar file and save that in the database?http://java.sun.com/docs/books/tutorial/deployment/jar/ Magnus Link to comment Share on other sites More sharing options...
huynhkchau Posted April 24, 2009 Share Posted April 24, 2009 Please regard this link http://jasperforge.org/plugins/espforum/view.php?group_id=102&forumid=103&topicid=248In short1:create a dummy group2:put your corsstab in the footer of the dummy 3:put your title at the header of the report4:put your title at the footer of the reportHope this help :) Link to comment Share on other sites More sharing options...
alicelish Posted May 9, 2009 Share Posted May 9, 2009 Hi!How i can force a row group and the row group header to start on a new page at crosstab??For example in the main report you can create groups and set the property "Start on a new page", i would like to do something like that in a crosstabThank's...Post Edited by alicelish at 05/09/2009 15:56 Link to comment Share on other sites More sharing options...
mstdean Posted May 22, 2009 Share Posted May 22, 2009 I have a crosstab in my subreport - in the summary band as that's the only place it will behave. However, i want to pass a parameter from the master report. My subreport is in the detail band of the master report and I'm wondering if the fact that my crosstab is in the summary band of the subreport is preventing from passing the parameter appropriately. How can I get a crosstab subreport to work passing parameters? 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