EditMode - property of the AdoRecordset object
Description:
Indicates the editing status of the current record (the ADO EditModeEnum value).
Values:
0 - (adEditNone) No editing operation is in progress on the current record.
1 - (adEditInProgress) The current record has been edited but not saved.
2 - (adEditAdd) The current record is a new record and has not been saved in the database.
4 - (adEditDelete) The current record has been deleted.
Note:
Property access for read only.
Example:
JavaScriptVBScriptSelect and copy to clipboard
var nEditMode = oRs.EditMode;
// Reading from the property
Dim nEditMode
nEditMode = oRs.EditMode
' Reading from the property