|
AnyDAC
|
Specifies what kinds of changed records must be "visible" in the dataset.
The FilterChanges property allows to get / set changed records kinds, which must be accessible through navigation interface of dataset ("visible" in dataset):
|
Kind |
Meaning |
|
rtModified |
Records changed after fetching or last CommitUpdates / CancelUpdates. |
|
rtInserted |
New records, not yet posted to DB and added after dataset open or after last CommitUpdates. |
|
rtDeleted |
Deleted records, not yet deleted from DB and deleted after dataset open or after last CommitUpdates. |
|
rtUnmodified |
Unchanged records. |
|
rtHasErrors |
Records having associated errors after ApplyUpdates. To get an error object use RowError property. |
property FilterChanges: TADUpdateRecordTypes;
// see only inserted records
ADQuery1.FilterChanges := [rtInserted];|
What do you think about this topic? Send feedback!
|