Data.DB.TDataSet.GetCurrentRecord

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: function
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

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

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.

See Also