poIScalarDefine SetDataComponent
Sets the data component of the result definition.
Syntax
poIScalarDefine_handle SetDataComponent comp
Application
HyperView Tcl Modify
Description
Inputs
- comp
- The data component.
Example
To set the data component of a scalar result definition to X:
hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle sdefine 4 scalar
sdefine SetDataComponent X
hwi CloseStack
Errors
Returns an error code if there was an error setting the data component and sets error condition on the session handle. See session_handle GetError.
Related Topics
See the Upfront Data Loader APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.