RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.GetCurrentRecord Method

Retrieves the current record into a buffer.

Pascal
function GetCurrentRecord(Buffer: PChar): Boolean; override;
C++
virtual __fastcall Boolean GetCurrentRecord(const char * 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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!