old()

Examples


The old() function returns the old value of the current field.

Syntax

old()

Parameters

None

Return value

Determined by the type of data stored in the field.

Comments

This function should be used only in a field change script to retrieve the value that the field contained before it was changed.

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 to operate properly.


We don’t recommend using the old() function with composite fields.


Documentation Feedback