Target

Description

The columns and expressions whose data is transferred from the DataWindow to the OLE object.

Applies to

OLE Object controls

Syntax

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.

Usage

GroupBy and Range also affect the data that is transferred to the OLE object.


In the painter

Select the control and set the value in the Properties view, Data tab, Target Data option.

Examples

Example 1

setting = dw1.Object.ole_1.Target
dw1.Object.ole_1.Target = 'lname, Len(companyname)'

Example 2

setting = dw1.Describe("ole_1.Target")
dw1.Modify("ole_1.Target = 'lname, Len(companyname)'")