Data Class - SetValue Method

Set Field value

Member of Data Class (PRIM_DC)


NameTypeData TypeDescription
Result*Result (Optional)BooleanTrue if assignment succeeded, otherwise False
Value*InputVariantValue to be applied to the data class


SetValue can be used to assign a value to a data class.


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

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2