wizir Posted April 29, 2009 Share Posted April 29, 2009 hello everyone! i have a question about subreports. i have to to two detail sections, so i have to create subreports, but also, i must have all of reports in one file, so i couldnt have a subreports in .jasper files, how can i achieve this? thanks for help best regards guys! Link to comment Share on other sites More sharing options...
chr15athome Posted April 29, 2009 Share Posted April 29, 2009 Why do you need 2 detail sections, wooldn't a group work? Chris Link to comment Share on other sites More sharing options...
wizir Posted April 29, 2009 Author Share Posted April 29, 2009 with group section can i loop the data like in detail section? Link to comment Share on other sites More sharing options...
huckepack Posted April 29, 2009 Share Posted April 29, 2009 This should work with any group. You just have to specify the group criteria. With a field ID the criterion could be something like $F{ID}. Whenever this value changes the group is rendered again. Link to comment Share on other sites More sharing options...
Teodor Danciu Posted April 29, 2009 Share Posted April 29, 2009 Hi,A group with expression based on the $V{REPORT_COUNT} variable breaks with every record. So its bands behave just like the detail section. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
wizir Posted April 29, 2009 Author Share Posted April 29, 2009 you are so helpfulthanks a lot! 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