RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPacketDataSet.HasMergeConflicts Method

Indicates whether a current record can be merged with updates in a delta packet.

Pascal
function HasMergeConflicts: Boolean;
C++
__fastcall Boolean HasMergeConflicts();

When resolving update errors in an OnUpdateError event handler, applications can specify that the updated record should be merged automatically with the current field values of the record. (To do this, set the Response parameter to rrMerge.) However, it is not always possible to merge client edits with the current record. If the updated record includes changes to field values that were also changed by other users, the merge will fail and HasMergeConflicts returns true. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!