Datasnap.Provider.TPacketDataSet.InitAltRecBuffers

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

procedure InitAltRecBuffers(CheckModified: Boolean = True);

C++

void __fastcall InitAltRecBuffers(bool CheckModified = true);

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.

See Also