EditMode Property

Returns the editing state of the current record in a Recordset. Read only.

object.EditMode = [value]

Where object is an object expression that evaluates to one of the controls in the Applies To list, and value is a value or constant as described in Settings.

Settings

The following settings are available for the EditMode property:

Constant

(Macros)

Constant

(Scripts)

Value

Description

EditAdd

nlEditAdd

2

The current record is a new record that has not been saved in the database.

EditInProgress

nlEditInProgress

1

Data in the current record has been modified but not saved.

EditNone

nlEditNone

0

No editing operation is in progress.

If there is no current record, that is if BOF or EOF is True, or the current record has been deleted, then the EditMode property will return EditNone.

See Also

DBAddNew action | DBCancelUpdate action | DBDelete action | DBUpdate action

Applies To

Recordset object


© 2004-2021 looksoftware. All rights reserved.