simie Posted November 18, 2010 Share Posted November 18, 2010 Hi All,I am relatively new to iReports...Is it possible to call another iReport after the first report has finished, within the first report?We can do it via a sub-report but that ruins the margins as both report are A4 reports. They are seperate reports rather than a "sub" report.Thanks,Simie /tools/fckeditor/editor/images/smiley/msn/wink_smile.gif Link to comment Share on other sites More sharing options...
svenn Posted November 18, 2010 Share Posted November 18, 2010 Do you want both reports merged into one file or two seporate files? Link to comment Share on other sites More sharing options...
simie Posted November 19, 2010 Author Share Posted November 19, 2010 svennWrote: Do you want both reports merged into one file or two seporate files? I don't mind, but probably two seperate files because we my want to print them seperately and sometimes together.I guess it will be easier to maintian/change with two files rather than cloning the report.Although, it would be useful to know how to do it both ways. /tools/fckeditor/editor/images/smiley/msn/tounge_smile.gifThanks,Simie Link to comment Share on other sites More sharing options...
mar_ass Posted November 20, 2010 Share Posted November 20, 2010 I don't see how subreports ruin your margins ? You can add to subreport components to the main one which would be clear. Subreports might be set to be generated on new pages each (use groups for instance). Link to comment Share on other sites More sharing options...
simie Posted November 22, 2010 Author Share Posted November 22, 2010 It messed the margins up because both reports have margins. So the sub-report would come out with the main reports margin plus the sub-reports margins.Normally, you would cut off the margins in the sub-report to fit the main - but in this case we have two seperate reports. Its not truly a sub-report by definition.I have found a way round the margin problem by putting the sub-report component outside the margins at the top of the page. But it would be good to know how to call another report other than a sub-report component.mar_assWrote: Subreports might be set to be generated on new pages each (use groups for instance). How would one do this? Thanks,Simie Link to comment Share on other sites More sharing options...
simie Posted November 26, 2010 Author Share Posted November 26, 2010 Bump 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