From RAD Studio API Documentation
Jump to: navigation, search


property LogChanges: Boolean read GetLogChanges write SetLogChanges;


__property bool LogChanges = {read=GetLogChanges, write=SetLogChanges, nodefault};


Type Visibility Source Unit Parent
property public
Datasnap.DBClient TCustomClientDataSet


Indicates whether to maintain a change log separate from the data.

Use LogChanges to control whether changes made to the data in a client dataset are recorded. When LogChanges is True (the default), all changes are recorded in the Delta property. They can later be applied to a database or source dataset, backed out, or merged into the Data property. When LogChanges is False, data changes are made directly to the Data property and cannot be applied to a database or source dataset through a provider.

Note: Never set LogChanges to False if the client dataset uses an internal provider, unless the data is read-only. Setting LogChanges to False results in a client dataset that cannot apply updates.

Warning: Set LogChanges to False if you do not plan to update the database with the changes made in the client dataset. For large datasets, a value of True for LogChanges may severely impact the performance of the application.

See Also