Whether a nested report starts on a new page. NewPage applies only to reports in a composite DataWindow. Note that if the Trail_Footer property of the preceding report is set to No, the current report will be forced to begin on a new page regardless of the NewPage value.
Report controls
Describe and Modify argument:
"reportname.NewPage { = value } "
Parameter |
Description |
---|---|
reportname |
The name of the report control for which you want to get or set the NewPage property. |
value |
Whether the report begins a new page. Values are:
|
Select the Report control in the Composite presentation style and set the value in the Properties view, General tab, New Page check box.
newpage_setting = dw1.Describe("rpt_1.NewPage")
dw1.Modify("rpt_1.NewPage=Yes")