DataObject DataWindow object property
Description
The name of the DataWindow object that is the nested report within
the main DataWindow object.
Controls
Report controls
Syntax
PowerBuilder dot notation:
1 |
<span>dw_control</span>.Object.<span>reportname</span>.DataObject |
Describe and Modify argument:
1 |
"<span>reportname</span>.DataObject = ' <span>dwname </span>' " |
Parameter |
Description |
---|---|
reportname |
The name of the Report control in the |
dwname |
A string naming a DataWindow object in the application’s libraries |
Usage
In the painter
Select the control and set the value in the Properties view, General
tab, Report option.
Examples
1 |
setting = dw1.Object.rpt_1.DataObject |
1 |
dw1.Object.rpt_1.DataObject = "d_empdata" |
1 |
setting = dw1.Describe("rpt_1.DataObject") |
1 |
dw1.Modify("rpt_1.DataObject='d_empdata'") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest