You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Data Class - SetValue Method
Set Field value
Member of Data Class (PRIM_DC)

Parameters

Name

Type

Data Type

Description

Result

*Result (Optional)

Boolean

True if assignment succeeded, otherwise false

Value

*Input

Variant

Value to be applied to the data class

Details


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

Example


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 ))

  • No labels