Datasnap.DBClient.TCustomClientDataSet.GetCurrentRecord
[–] Properties | |
---|---|
Type: function | |
Visibility: public | |
Source: Datasnap.DBClient.pas Datasnap.DBClient.hpp
| |
Unit: Datasnap.DBClient | |
Parent: TCustomClientDataSet |
Delphi
function GetCurrentRecord(Buffer: TRecBuf): Boolean; overload; override;
function GetCurrentRecord(Buffer: TRecordBuffer): Boolean; overload; override; deprecated 'Use overloaded method instead';
C++
virtual bool __fastcall GetCurrentRecord(Data::Db::TRecBuf Buffer)/* overload */;
virtual bool __fastcall GetCurrentRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (Data::Db::TRecordBuffer Buffer)/* overload */;
Description
Retrieves the current record into a 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.