EditMode Property

Applies To

Oracle Data Control


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


edit_mode = oradata1.EditMode


The possible 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 oraconst.txt file and are intended to match similar constants in the Visual Basic oraconst.txt file.

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

Data Type