The name of the DataWindow that is the nested report within the main DataWindow.
Report controls
PocketBuilder dot notation:
dw_control.Object.reportname.DataObject
Describe and Modify argument:
"reportname.DataObject = ' dwname ' "
Parameter |
Description |
---|---|
reportname |
The name of the Report control in the main DataWindow for which you want to get or set the nested DataWindow. |
dwname |
A string naming a DataWindow object in the application’s libraries that is the DataWindow for the report within the main DataWindow. |
Select the control and set the value in the Properties view, General tab, Report option.
setting = dw_1.Object.rpt_1.DataObject
dw_1.Object.rpt_1.DataObject = "d_empdata"
setting = dw_1.Describe("rpt_1.DataObject")
dw_1.Modify("rpt_1.DataObject='d_empdata'")
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |