NewPage (Report controls)
Description
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.
Applies to
Report controls
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.reportname.NewPage |
Describe and Modify argument:
|
1 |
"reportname.NewPage { = value } " |
|
Parameter |
Description |
|---|---|
|
reportname |
The name of the report control for which you want |
|
value |
Whether the report begins a new Values are: Yes — Start the No — Do not start the report |
Usage
In the painter
Select the Report control in the Composite presentation style and
set the value in the Properties view, General tab, New Page check
box.
Examples
|
1 2 3 4 5 |
string newpage_setting newpage_setting = dw1.Object.rpt_1.NewPage dw1.Object.rpt_1.NewPage = "Yes" newpage_setting = dw1.Describe("rpt_1.NewPage") dw1.Modify("rpt_1.NewPage=Yes") |