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


This method is inherited from the RecordsetData class.


public void ResetAllToUnmodifiedExisting()


Examples

Records are added to the recordset and then the records are reset to DataRecordStatus.Existing, and each column is set to "not modified":


customers.Append();

customers.ID = 100;

customers.Firstname = "John";

customers.Lastname = "Smith";


customers.Append();

customers.ID = 101;

customers.Firstname = "Paula";

customers.Lastname = "Jones";


customers.ResetAllToUnmodifiedExisting();


When Recordset.SaveChanges() is called, nothing will happen for the two records as there are no modified columns.