Name

Field.OriginalValue Property — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

                     originalvalue = field.OriginalValue

The OriginalValue property returns the value that belonged to a field before any changes were made to it.

Datatype

Variant

Description

In Immediate mode, the OriginalValue property returns the value of a field in the current record before any changes were made to it. In other words, the OriginalValue property is the value of the field when the last Update method was called. This is the value that is replaced in the Field object when the CancelUpdate method is called.

In Batch Update mode, the OriginalValue property returns the value of a field in the current record before any changes were made to it. In other words, the OriginalValue property is the value of the field when the last UpdateBatch method was called. This is the value that is replaced in the Field object when the CancelBatch method is called.

See Also

Recordset.CancelBatch Method, Recordset.CancelUpdate Method, Recordset.Update Method, Recordset.UpdateBatch Method

Get ADO: ActiveX Data Objects now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.