Originally Posted by bcharnz
|
|
1.) I am attempting to create a custom report that includes the contract as well as some modifcations to the proposal report. First starting with a "proposal with images", In the report designer. I am looking to add the contract at the end of the proposal. I find the "grpSummaryDetail" section and insert a page break above the "subSummaryDetail" so my summary always starts on the new page. Second, I insert a second page break just after the "subSummaryDetail" and then insert a text box that is "bound" to the Sub contract" report. So I have add the contract report as a sub report. The output does not start the contract section on a separate page even though I have a page break inserted immediately before it? Help?
|
I have followed your steps above and can not duplicate the issue. Here are a couple thoughts:
1) There's no need to insert the pagebreak before the "subSummaryDetail" subreport control as the section has it's "NewPage" property set to "Before". This means that the section will always start on a new page. Since the subSummaryDetail control is the first control in the section, it will appear at the top of the page.
2) When you add the pagebreak after the subSummaryDetail control, be sure that it is not overlapping any other controls on the report design surface.
3) When you place a sub report control to the report for the Contract, ensure that the control is below the pagebreak (not overlapping) and resize it to the correct height and width while ensuring that it is not overlapping any controls below it. (see attached image: The subreport control is selected to show a gray outline around it so you can see how it is positioned in the designer)
See my attached PDF of the output I received.
The other option is to always add new sections, reorder them, hide the header/footers you don't need, set the NewPage property of the section as desired and put the sub report control in that section.
Regardless, it sounds as if what you are doing is correct. It is probably a minor layout issue as described above.
-R