FireDAC.Comp.DataSet.TFDDataSet.GetCurrentRecord

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

Delphi

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

C++

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

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