Set the value of the component
Member of Elemental Visual Part (PRIM_EVP)
|Result||*Result (Optional)||Boolean||True if the value was set successfully|
|Value||*Input||Variant||Value to be applied|
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.
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
All Component Classes
Febuary 18 V14SP2