Datasnap.DBClient.TCustomClientDataSet.GetCurrentRecord

From RAD Studio API Documentation
Jump to: navigation, search

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(NativeInt Buffer)/* overload */;
virtual bool __fastcall GetCurrentRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Datasnap.DBClient TCustomClientDataSet

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.

See Also