ktrinad Posted August 30, 2006 Share Posted August 30, 2006 By: Simon Chevrier - simonchevrier Subreport printing each time on a new page 2003-05-01 10:40 How can I print the sub-report on a new page each time? I am using ireport to create a statement (example: REPORT_STATEMENT) of account report. In my report I have 3 sub-reports (one for the invoices (STATEMENT_INVOICE), one for the payments of the invoices (STATEMENT_PAYMENT) and one for the summary (STATEMENT_SUMMARY)). The master report will print the 3 sub-reports for one client that I passed his customer number. All the sub reports are in a different group. For this part everything is OK. Now I have to create a report for every customer in one task. So I create a new master report (ALL_STATEMENT) to find my entire customer. In this master report I create a sub report (REPORT_STATEMENT). The sub report is in the detail part of the master report (ALL_STATEMENT) The report works find but is not printing very well. How can I be sure that my REPORT_STATEMENT will be print on a new page each time? Thanks Simon By: Mark Rhodes - mrhodes2 RE: Subreport printing each time on a new page 2003-05-01 10:56 when you setup the groups, on the minimum height to start new page set it at around 500 or 600. By: Simon Chevrier - simonchevrier RE: Subreport printing each time on a new page 2003-05-01 11:21 Thanks I set the minimum height of the detail part to 800 The sub-report REPORT_STATEMENT is always starting on a new page. Have a good day. Simon By: Simon Chevrier - simonchevrier RE: Subreport printing each time on a new page 2003-05-01 11:29 Last question How can I show the content of my sub report if it has no result. I want to show the static text at minimum Simon By: Giulio Toffoli - gt78 RE: Subreport printing each time on a new page 2003-05-01 15:05 Open the subreport, goto report properties, goto the tab "More...", and select your preferred value for the field "When no data....". Giulio 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