Skip Headers

Oracle® Objects for OLE Developer's Guide
10g Release 1 (10.1)

Part Number B10118-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Master Index
Master Index
Go to Feedback page
Feedback

EditMode Property

See Also

Applies To

Oracle Data Control

Description

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

Usage

edit_mode = oradata1.EditMode

Remarks

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 file 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