NewPage (Report controls) DataWindow object property
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.
Controls
Report controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>reportname</span>.NewPage |
Describe and Modify argument:
1 |
"<span>reportname</span>.NewPage { = <span>value</span> } " |
Parameter |
Description |
---|---|
reportname |
The name of the report control for which |
value |
Whether the report begins a new page. Values are:
|
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 |
string newpage_setting |
1 |
newpage_setting = dw1.Object.rpt_1.NewPage |
1 |
dw1.Object.rpt_1.NewPage = "Yes" |
1 |
newpage_setting = dw1.Describe("rpt_1.NewPage") |
1 |
dw1.Modify("rpt_1.NewPage=Yes") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments