DB.TDataSet.ActiveBuffer

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From DB.pas

	function ActiveBuffer(): PByte;


Unit: DB

Type: method

Visibility: public

Member Of: TDataSet

C++ Information

From DB.hpp

	unsigned char * __fastcall ActiveBuffer(void);


Unit: DB

Type: method

Visibility: public

Member Of: 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
Translations
Newest Version