Datasnap.Provider.TPacketDataSet.UseCurValues
Delphi
property UseCurValues: Boolean read FUseCurValues write FUseCurValues;
C++
__property bool UseCurValues = {read=FUseCurValues, write=FUseCurValues, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TPacketDataSet |
Description
Indicates that the CurValue property of fields in the dataset should be used instead of the OldValue property.
UseCurValues is set during the resolving process when a record is corrected in an OnUpdateError event handler. This allows the resolver to reapply a corrected record rather than using the originally provided values as the basis of an update.