EditMode Property

Applies To

OraDynaset Object


Returns the editing state for the current row. Not available at design time and read-only at run time.


edit_mode = oradynaset.EditMode

Data Type



The EditMode property values are:

Constant Value Description
ORADATA_EDITNONE 0 No editing in progress.
ORADATA_EDITMODE 1 Editing is in progress on an existing row.
ORADATA_EDITADD 2 A new record is being added and the copy buffer does not currently represent an actual row in the database.

These values are located in the ORACLE_BASE\\ORACLE_HOME\oo4o\oraconst.txt file and are intended to match similar constants in the Visual Basic constant.txt file.

This property is affected only by the Edit, AddNew, and Update methods.