Navigation:  DAO Object Classes > DaoRecordset Class >

DaoRecordset:EditMode Access

Previous pageReturn to chapter overviewNext page


A short value that indicates the state of editing for the current record



The return value indicates the state of editing, as listed in the following table




dbEditNoneNo editing operation is in progress.
dbEditInProgressThe Edit

method has been invoked, and the current record is in the copy buffer.

dbEditAddThe AddNew



method has been invoked, and the current record in the copy buffer is a new record that hasn't been saved in the database


The EditMode property is useful when an editing process is interrupted, for example, by an error during validation. You can use the value of the EditMode property to determine whether you should use the Update or CancelUpdate


You can also check to see if the LockEdits




property setting is True and the EditMode property setting is dbEditInProgress to determine whether the current page is locked.