Name

EditModeEnum Enumeration — (Versions 2.0, 2.1, 2.5, 2.6)

Synopsis

The EditModeEnum enumeration indicates the current edit status of a record.

Table E-17. The EditMode Enumeration

Enumeration (ADO/WFC)

Value

Description

adEditAdd (ADD)
2

Indicates that the AddNew method has been called and the new record currently contains values that have not yet been saved.

adEditDelete (DELETE)
4

Indicates that the current record has been marked for deletion but has not yet been deleted in the database.

adEditInProgress (INPROGRESS)
1

Indicates that there is currently no editing being done on the given record.

adEditNone (NONE)
0

Indicates that there are currently values in the given record that have not yet been saved.

ADO/WFC

The EditModeEnum enumeration is part of the com.ms.wfc.data package, and the constant values are preceded with AdoEnums.EditMode.

See Also

Recordset.AddNew Method, Recordset.EditMode Property

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.