RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TPacketDataSet.InitAltRecBuffers Method

Fetches values for the CurValue, OldValue, and NewValue properties of fields.

Pascal
procedure InitAltRecBuffers(CheckModified: Boolean = True);
C++
__fastcall InitAltRecBuffers(Boolean CheckModified = True);

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. 

 

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