Database Exchange > Configuration > Using properties > DataEditMode

Property - DataEditMode

Description        Indicates whether or not changes have been made to the buffer associated with the current record, or whether a new record has been created. Use the EditMode property to determine the editing status.

Data Type         A long value representing the EditModeEnum described below.

Allowed Value    0 - No editing operation is in progress.

1 - Data in the current record has been modified but not saved.

2 - The AddNew method has been called, and the current record in the copy buffer is a new record that has not been saved in the database.

4 - The current record has been deleted.