RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBDEDataSet.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. TDataSet 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 record size indicated by the RecordSize property. 

 

RecordSize 

ActiveBuffer

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!