Datasnap.Provider.TPacketDataSet.HasMergeConflicts

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Datasnap.Provider.pas
Datasnap.Provider.hpp
Unit: Datasnap.Provider
Parent: TPacketDataSet

Delphi

function HasMergeConflicts: Boolean;

C++

bool __fastcall HasMergeConflicts();

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