Promotic

EditMode - property of the AdoRecordset object

Description:
Indicates the editing status of the current record (the ADO EditModeEnum value).
Syntax:
Long EditMode
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.
See also:
- AdoRecordset (object)
- AdoRecordset.State (property)
Example:
JavaScriptVBScriptSelect and copy to clipboard

var nEditMode = oRs.EditMode;   // Reading from the property

History:
Pm8.01.00: Created
PROMOTIC 9.0.27 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.