dbEditMode property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short dbEditMode

Overview:  Refer to Managing Images in a Database

Remarks

Indicates the edit mode of the current record.

Value

Meaning

DB_EDITMODE_NONE

The current mode is read-only.

DB_EDITMODE_EDIT

The dbEdit method has been called, and calling the dbUpdate method will update the current record.

DB_EDITMODE_ADDNEW

The dbAddNew method has been called, and calling the dbUpdate method will add the current record to the database.

See Also

Elements:  dbCanAppend property, dbCanRestart property, dbCanScroll property, dbCanUpdate property, dbCurrentRecord property, dbIsBOF property, dbIsDeleted property, dbIsEOF property, dbIsOpen property, dbRecordCount property

Topics:  Databases: Using ODBC