Calls the Record.ResetToUnmodifiedExisting method for all records in the resultset.


Records with the DataRecordStatus specified with the status_to_skip parameter will not be affected.


This method is inherited from the RecordsetData class.


public void ResetAllToUnmodifiedExistingExcept(DataRecordStatus status_to_skip)


Examples

Records are added to the recordset and then the records are reset to DataRecordStatus.Existing, and each column is set to "not modified". Records with "ExistingDelete" status will be skipped:


customers.Append();

customers.ID = 100;

customers.Firstname = "John";

customers.Lastname = "Smith";


customers.Append();

customers.ID = 101;

customers.Firstname = "Paula";

customers.Lastname = "Jones";


customers.ResetAllToUnmodifiedExistingExcept(DataRecordStatus.ExistingDelete);