共用方式為


CDaoRecordset::GetEditMode

Call this member function to determine the state of editing, which is one of the following values:

short GetEditMode( );

Return Value

Returns a value that indicates the state of editing for the current record.

Remarks

Value

Description

dbEditNone

No editing operation is in progress.

dbEditInProgress

Edit has been called.

dbEditAdd

AddNew has been called.

For related information, see the topic "EditMode Property" in DAO Help.

Requirements

Header: afxdao.h

See Also

Concepts

CDaoRecordset Class

CDaoRecordset Members

Hierarchy Chart