Show: Delphi C++
Display Preferences

Data.DB.TDataSet.ActiveBuffer

From XE2 API Documentation
Jump to: navigation, search

Delphi

function ActiveBuffer: TRecordBuffer; inline;

C++

System::PByte __fastcall ActiveBuffer(void);

Properties

Type Visibility Source Unit Parent
function public
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

Returns a pointer to the buffer for the active record.

ActiveBuffer is used internally by many dataset methods to ensure that the active buffer points to the buffer for the active record. If an application uses existing dataset methods, the active buffer is always set correctly, so there is usually no need to call ActiveBuffer directly.

Note: Unidirectional datasets do not buffer records. On Unidirectional datasets, ActiveBuffer returns a meaningless value.

ActiveBuffer is used by bookmarking methods to index into the active record buffer to retrieve bookmark information.

Applications that provide custom dataset routines may need to call ActiveBuffer to access the buffer data.

See Also

Personal tools
Previous Versions
Translations