Data.DB.TDataSet.GetCurrentRecord
Delphi
function GetCurrentRecord(Buffer: TRecBuf): Boolean; overload; virtual;
function GetCurrentRecord(Buffer: TRecordBuffer): Boolean; overload; virtual; 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 | Data.DB.pas Data.DB.hpp |
Data.DB | TDataSet |
Description
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.