Returns original field values for fields that have been modified but not updated.
OLDVAL(cExpression [, cTableAlias | nWorkArea])
Specifies an expression whose original value OLDVAL( ) returns from a table or a remote data source. cExpression is typically a field or an expression consisting of a set of fields from the table or remote data source.
Specifies the alias of the table or cursor from which the original field values are returned.
Specifies the work area of the table or cursor from which the original field values are returned.