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

This method is inherited from the RecordsetData class.

public void ResetAllToUnmodifiedExisting()


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


customers.ID = 100;

customers.Firstname = "John";

customers.Lastname = "Smith";


customers.ID = 101;

customers.Firstname = "Paula";

customers.Lastname = "Jones";


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

Created with the Personal Edition of HelpNDoc: Free Qt Help documentation generator