diff()

Examples


The diff() function returns the difference between a field’s new value and its old value.

Syntax

diff()

Parameters

• None

Return value

Numeric with the same type as the current field.

Comments

This function should be used only in field change scripts for numeric fields.

This function should not be used in a change script run using the run script or run script delayed statements. Focus must be in the field for which this function is run for it function properly.



Documentation Feedback