FireDAC.Comp.DataSet.TFDDataSet.FilterChanges

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property FilterChanges: TFDUpdateRecordTypes read FFilterChanges write SetFilterChanges  default [rtUnmodified, rtModified, rtInserted];

C++

__property TFDUpdateRecordTypes FilterChanges = {read=FFilterChanges, write=SetFilterChanges, default=11};

Properties

Type Visibility Source Unit Parent
property public
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

Specifies what types of changed records must be visible (accessible though the navigation interface) in the dataset.

The FilterChanges property allows to get or set the changed records types that must be visible in the dataset (accessible through the navigation interface of the dataset):

Type

Meaning

rtModified

Records changed after fetching or after the last CommitUpdates or CancelUpdates operation.

rtInserted

New records, not yet posted to the DB and added after the dataset was opened or after the last CommitUpdates operation.

rtDeleted

Deleted records, not yet deleted from the DB and deleted after the dataset was opened or after the last CommitUpdates operation.

rtUnmodified

Unchanged records.

rtHasErrors

Records having associated errors after the ApplyUpdates operation. To get an error object, use the RowError property.

See Also