Click or drag to resize

DataWindow.FieldPut Method (Typed)

X#
Set the value of the control in this data window (and the data server field associated with this control, if any).

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 VIRTUAL METHOD FieldPut(
	uFieldId AS USUAL,
	uNewValue AS USUAL
) AS USUAL
Request Example View Source

Parameters

uFieldId
Type: Usual
The name, number, or symbol representing the field that is referenced.
uNewValue
Type: Usual
The value to be assigned to the field. The data type of this value must match the data type of the field.

Return Value

Type: Usual
The newly assigned value if the operation was successful; otherwise, NIL.
Remarks
When executed successfully, the data server that received the updated value sends a NotifyFieldChange message to all of its clients, including this data window. In data windows, controls (such as edit controls and check boxes) can be linked to the fields in the connected data server.
See Also