RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomCachedDataSet.UpdateMode Property

Controls how records are located when applying updates.

Pascal
property UpdateMode: TUpdateMode;
C++
__property TUpdateMode UpdateMode;

Use UpdateMode to specify the criteria for locating a record when applying updates. UpdateMode specifies whether modified records are located based on all columns (fields), on only the key fields, or on the key fields plus the original values of fields that have been modified.

Note: To control how to locate records by specifying individual fields, use the ProviderFlags property on individual field components in a BeforeUpdateRecord event handler.
 

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