oldVal Property

Class: Column

Description

This property enables a program or a filer (e.g., journal, trigger) to track the old value of a column that has been changed.

Syntax

table.column.oldVal

Parameters

None

Returns

The value of the column since the most recent load or save operation of the record.

When Became Available

v6.0

Example

type RecordCIF cif = Db.getRecord(“CIF”,”ACN=:ACN”)

set cif.boo = XYZ

.

.

.

if cif.boo=c

 

* Variable ACN must be declared prior to the getRecord statement

* The if statement is incomplete