RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomResolver.InitializeConflictBuffer Method

Introduces a method for adding information about a failed update that is passed to an OnUpdateError event handler.

Pascal
procedure InitializeConflictBuffer(Tree: TUpdateTree); virtual; abstract;
C++
virtual __fastcall InitializeConflictBuffer(TUpdateTree Tree) = 0;

The HandleUpdateError method calls InitializeConflictBuffer before generating an OnUpdateError event. This ensures that the client dataset passed to an OnUpdateError event handler represents the update that caused the problem, with appropriate values for field's CurValue property. 

Descendants of TCustomResolver implement this method to obtain information from the dataset or server to which they are applying updates. 

 

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