RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.GetCurrentRecord Method

Retrieves the current record into a buffer.

Pascal
function GetCurrentRecord(Buffer: TRecordBuffer): Boolean; override;
C++
virtual __fastcall Boolean GetCurrentRecord(TRecordBuffer Buffer);

Most applications should not need to call GetCurrentRecord. TCustomClientDataSet automatically allocates a buffer for the active record. 

Call GetCurrentRecord to copy the current record into a buffer allocated by the application. Buffer must be at least as big as the number of bytes indicated by the RecordSize property. 

 

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