The columns and expressions whose data is transferred from the DataWindow to the OLE object.
OLE Object controls
PowerBuilder dot notation:
dw_control.Object.oleobjectname.Target
Describe and Modify argument:
"oleobjectname.Target { = ' columnlist ' }"
Parameter |
Description |
---|---|
oleobjectname |
The name of the OLE Object control for which you want to get or set the data to be transferred. |
columnlist |
(exp) A list of the columns or expressions whose data is transferred to the OLE object. If there is more than one, separate them with commas. Columnlist can be a quoted DataWindow expression. |
GroupBy and Range also affect the data that is transferred to the OLE object.
Select the control and set the value in the Properties view, Data tab, Target Data option.
setting = dw1.Object.ole_1.Target dw1.Object.ole_1.Target = 'lname, Len(companyname)'
setting = dw1.Describe("ole_1.Target") dw1.Modify("ole_1.Target = 'lname, Len(companyname)'")