Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to force a page break between sub-reports

Status
Not open for further replies.
Mar 27, 2008
1
US
Hello, I have a datawindow print that contains 4 sub-reports in the detail band. I need to have each sub-report print on a new page. I can see how to have page-breaks with grouping in the sub-report, but I need the page-breaks to be between subreports, not within the subreport.

Is this possible? If so, how?

Thanks!
 
I'd try to print them separately:

datawindowchild ldwc

GetChild('yourfirstreport', ldwc)
ldwc.print()

GetChild('yourSecondReport', ldwc)
ldwc.print()

etc.




regards,
Miguel L.
 
You may want to look at the Trail_Footer property, if you are working with a composite datawindow.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top