The name of the DataWindow object that is the nested report within the main DataWindow object.
Report controls
Describe and Modify argument:
"reportname.DataObject = ' dwname ' "
Parameter |
Description |
---|---|
reportname |
The name of the Report control in the main DataWindow object for which you want to get or set the nested DataWindow object |
dwname |
A string naming a DataWindow object in the application’s libraries that is the DataWindow object for the report within the main DataWindow object |
Select the control and set the value in the Properties window, General category.
[Visual Basic] setting = dw1.Describe("rpt_1.DataObject")
dw1.Modify("rpt_1.DataObject='d_empdata'")