这个可以吗?我没试过,你试试吧。TCustomADODataSet.RecordStatus Indicates the status of the current row.property RecordStatus: TRecordStatusSetDescriptionRead RecordStatus to determine the status of the current row relative to batch updates or other bulk operations. Among other record state aspects, RecordStatus indicates whether the current record is new, modified, deleted, or unmodified. RecordStatus will also give an indication why a row is not saved when modifying, adding, or deleting data.Note: RecordStatus only provides meaningful information if the dataset is opened in batch update mode.
Indicates the status of the current row.property RecordStatus: TRecordStatusSetDescriptionRead RecordStatus to determine the status of the current row relative to batch updates or other bulk operations. Among other record state aspects, RecordStatus indicates whether the current record is new, modified, deleted, or unmodified. RecordStatus will also give an indication why a row is not saved when modifying, adding, or deleting data.Note: RecordStatus only provides meaningful information if the dataset is opened in batch update mode.