Datasnap.Provider.TPacketDataSet.HasMergeConflicts

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HasMergeConflicts: Boolean;

C++

bool __fastcall HasMergeConflicts(void);

Properties

Type Visibility Source Unit Parent
function public
Datasnap.Provider.pas
Datasnap.Provider.hpp
Datasnap.Provider TPacketDataSet

Description

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

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.

See Also