Purpose
Put a value into a field.
Class
Type
Method
Syntax
<oArrayServer>:FieldPut(
<uField>,
<uValue>
) Æ uValue
Arguments
<uField> | Number, name, or symbol of the field for which the value is to be set. |
Data Type: | DWord | String | Symbol |
<uValue> | The value that is to be set into the field. |
Data Type: | Usual |
Return Value
uValue | Value that was put into the field. The value corresponds to the argument <uValue>. |
Data Type: | Usual |
Description
bArrayServer:FieldPut() puts a value into a field of the current record. Before the value is set, it is tested against the defined validation rules of the field. After setting, the server sends a NotifyFieldChange message.
The value of a field can be retrieved with the method bArrayServer:FieldGet() or the bArrayServer:FieldGetFormatted().
Note
The new field value is not directly put into the data array, but put into a temporary buffer up until the next movement and/or to call of the method bArrayServer:Commit().
See Also
Page url: http://www.YOURSERVER.com/index.html?barrayserver_fieldput.htm