Click or drag to resize

DataWindow.FIELDPUT Method

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

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

Parameters

uFieldId (Optional)
Type: Usual
The name, number, or symbol representing the field that is referenced.
uNewValue (Optional)
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