FireDAC.Comp.DataSet.TFDDataSet.GetCurrentRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetCurrentRecord(Buffer: TRecBuf): Boolean; override;

C++

virtual bool __fastcall GetCurrentRecord(NativeInt Buffer)/* overload */;
inline bool __fastcall  GetCurrentRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer){ return Data::Db::TDataSet::GetCurrentRecord(Buffer); }

Properties

Type Visibility Source Unit Parent
function public
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

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

FireDAC.Comp.DataSet.TFDDataSet.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