Datasnap.Provider.TPacketDataSet.InitAltRecBuffers
Delphi
procedure InitAltRecBuffers(CheckModified: Boolean = True);
C++
void __fastcall InitAltRecBuffers(bool CheckModified = true);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Datasnap.Provider.pas Datasnap.Provider.hpp |
Datasnap.Provider | TPacketDataSet |
Description
Fetches values for the CurValue, OldValue, and NewValue properties of fields.
While applying updates, InitAltRecBuffers is called automatically to ensure that fields in the packet dataset have values for the CurValue, OldValue, and NewValue properties. The CheckModified parameter specifies whether InitAltRecBuffers should check if the current record has been modified when it sets values. This check allows the packet dataset to reflect appropriate values when applying updates that are changed by an OnUpdateError event handler.