Datasnap.Provider.TPacketDataSet.UseCurValues
| [–] Properties | |
|---|---|
| Type: property | |
| Visibility: public | |
| Source: Datasnap.Provider.pas Datasnap.Provider.hpp
| |
| Unit: Datasnap.Provider | |
| Parent: TPacketDataSet | |
Delphi
property UseCurValues: Boolean read FUseCurValues write FUseCurValues;
C++
__property bool UseCurValues = {read=FUseCurValues, write=FUseCurValues, nodefault};
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.