RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.LogChanges Property

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

Pascal
property LogChanges: Boolean;
C++
__property Boolean LogChanges;

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 via a provider.

Warning: 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 can't apply updates.
Tip: When using a client dataset in a file-based application where data changes made by the application are never applied to another dataset, set LogChanges to false to conserve system resources.
 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!