RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DB.TUpdateMode Enumeration

TUpdateMode indicates how to locate records so that they can be updated.

Pascal
TUpdateMode = (
  upWhereAll,
  upWhereChanged,
  upWhereKeyOnly
);
C++
enum TUpdateMode {
  upWhereAll,
  upWhereChanged,
  upWhereKeyOnly
};

TUpdateMode is the type of the UpdateMode property. UpdateMode specifies how the records are located when the ApplyUpdates method is called. TUpdateMode includes the following values:

Value 
Meaning 
upWhereAll  
All columns (fields) are used to locate the record.  
upWhereChanged  
Only key field values and the original value of fields that have changed are used to find the record.  
upWhereKeyOnly  
Only key fields are used to find the record.  

 

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