Elemental Visual Part - SetValue Method

Set the value of the component

Member of Elemental Visual Part (PRIM_EVP)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)BooleanTrue if the value was set successfully
Value*InputVariantValue to be applied

Details

SetValue can be used to assign a value to the field instance.
 
This allows a value to be set without needing to know the name of the field.

Example

In this example, a field is updated using SetValue. If it fails the code inside the IF will be executed.
If (*Not #Field.SetValue( #NewValue ))
 
   * Update of field failed
 
Endif

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2