pennywiser Posted May 13, 2009 Share Posted May 13, 2009 Hi, I'm trying to show only one result per page in a report that contains two subreports. The structure is:------------------detail------------------BUSINESS NAMESUBREPORT1SUBREPORT2--------------------------------------------I'd like to get only one business name per page, so you can see a blank space between different data if needed, but I cant find a way to do that.I'm using iReport 1.2.5Thanks!Post Edited by pennywiser at 05/13/2009 11:28 Link to comment Share on other sites More sharing options...
C-Box Posted May 13, 2009 Share Posted May 13, 2009 What about a group with flag "StartNewPage" = true and GroupExpression: $V{REPORT_COUNT} ?!?! :-)hthC-Box Link to comment Share on other sites More sharing options...
pennywiser Posted May 13, 2009 Author Share Posted May 13, 2009 I'm a newbie at ireport, how do I group with flag the items?Edit: I have already make group with the "name" and subreports.Post Edited by pennywiser at 05/13/2009 12:18 Link to comment Share on other sites More sharing options...
C-Box Posted May 13, 2009 Share Posted May 13, 2009 I'm not sure, but when I remember right, also the old iReport version you are using has the checkbox "StartNewPage" at group property dialog.If you already have a group by name, just set this CheckBox and you will get every group starting at a new page (what seems to be the goal, if I understood your problem right) hthC-Box Link to comment Share on other sites More sharing options...
pennywiser Posted May 13, 2009 Author Share Posted May 13, 2009 It's ok, now I have to test the report with the aplication. Link to comment Share on other sites More sharing options...
Giulio Toffoli Posted May 13, 2009 Share Posted May 13, 2009 IMHO the most simple way is to add a page break element at the end of the detail band (retative to bottom as position type just in case).Giulio Link to comment Share on other sites More sharing options...
pennywiser Posted May 13, 2009 Author Share Posted May 13, 2009 How do I add the page break? Thanks- Link to comment Share on other sites More sharing options...
pennywiser Posted May 14, 2009 Author Share Posted May 14, 2009 CBoxWrote: What about a group with flag "StartNewPage" = true and GroupExpression: $V{REPORT_COUNT} ?!?! :-) hth C-Box Finally it worked! thank you :) 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