Returns original field values for fields that have been modified but not updated.

OLDVAL(cExpression [, cTableAlias | nWorkArea])

Parameters

cExpression

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.

cTableAlias

Specifies the alias of the table or cursor from which the original field values are returned.

nWorkArea

Specifies the work area of the table or cursor from which the original field values are returned.

Expand imageReturn Value

Expand imageRemarks

Expand imageExample

Expand imageSee Also