Data.DB.TDataSet.InternalSetToRecord

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

procedure InternalSetToRecord(Buffer: TRecBuf); overload; virtual;
procedure InternalSetToRecord(Buffer: TRecordBuffer); overload; virtual; deprecated 'Use overloaded method instead';

C++

virtual void __fastcall InternalSetToRecord(TRecBuf Buffer)/* overload */;
virtual void __fastcall InternalSetToRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (TRecordBuffer Buffer)/* overload */;

Description

Moves to the record with the given record buffer.

The InternalSetToRecord method is virtual and every descendant of TDataSet must implement it in its specific way to move the dataset to the record given by the Buffer parameter. The overridden method should have the same functionality as InternalGotoBookmark but with a record buffer as parameter.

This method is used by SetCurrentRecord to set the active record.

Note: Unidirectional datasets do not support bookmarks.

Note: To use this method, you also need to override InternalGotoBookmark.


See Also