EditMode Property

See Also

Applies To

OraDynaset

Description

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

Usage

edit_mode = oradynaset.EditMode

Remarks

The EditMode property values are:

Constant
Value
Description
ORADATA_EDITNONE
0
No editing in progress.
ORADATA_EDITMODE

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 file oracle_base\oracle_home\oo4o\oraconst.txt and are intended to match similar constants in the Visual Basic file constant.txt.

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

Data Type

Integer

Contents