With – Update Operation (Magic xpa 2.x)
The number of the expression as it appears in the Expression Editor. The result of this expression is posted to the updated variable.
The expression should be defined for either Normal or Incremental update according to the guidelines explained in the Incremental property section:
-
Update Expression for Normal Update – The expression value replaces the current value of the updated variable. For example, if you want to keep accumulating the value of B into a sum in the variable A, define A+B as the update expression.
-
Update Expression for Incremental Update – This method is intended to preserve data integrity when working with linked tables. The expression value "increments" the current value of the updated variable, as explained below. Therefore the update expression must specify only the increment value. For example, to increment the updated variable A by the value in B, you must specify the expression: B, and not the expression: A+B.