API: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

Implements a virtual function to retrieve the current record in a buffer.

Datasnap.DBClient.TCustomClientDataSet.GetCurrentRecord inherits from Data.DB.TDataSet.GetCurrentRecord. All content below this line refers to Data.DB.TDataSet.GetCurrentRecord.

Implements a virtual function to retrieve the current record in a buffer.

This function always returns false, indicating failure. For TDataSet descendants that override this method to retrieve the value of the current record, GetCurrentRecord returns true if Buffer is successfully filled with the value of the current record.

See Also