Language Reference Guide : 4. System Classes : FieldObject Class : UpdValue Method
 
Share this page                  
UpdValue Method
The UpdValue method loads the internal memory area that changes or resets a field's value to the currently displayed representation of the value.
If this method is called from 4GL code triggered by KeyPress or KeyDown events, both of which precede the application of the text change defined by the user key action, the value applied will not include this text change.
This method has the following syntax:
integer = FieldObject.UpdValue();
This method returns TRUE if the update succeeds, and FALSE if it fails. Descriptions of system constant values and their numeric equivalents are listed in Error Codes.