EditMode Property

Indicates the editing status of the current record.

Return Values

Returns one of the following EditModeEnum values:

Constant

Value

Description

adEditNone

0

No editing operation is in progress.

adEditInProgress

1

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

adEditAdd

2

The AddNew method has been invoked, and the current record in the copy buffer is a new record that hasn't been saved in the database.

Remarks

Use the EditMode property to determine the editing status of the current record. You can test for pending changes if an editing process has been interrupted and determine whether you need to use the Update or CancelUpdate method.

See the AddNew method for a more detailed description of the EditMode property under different editing conditions.

Applies To

Recordset

See Also

AddNew, CancelUpdate, Update