CDaoRecordset::GetEditMode

short GetEditMode( );
throw( CDaoException, CMemoryException );

Return Value

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

Remarks

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

Value Description
dbEditNone No editing operation is in progress.
dbEditInProgress Edit has been called.
dbEditAdd AddNew has been called.

For more information about updating data, see the article DAO Recordset: Recordset Operations in Visual C++ Programmer's Guide. For related information, see the topic "EditMode Property" in DAO Help.

CDaoRecordset OverviewClass MembersHierarchy Chart