Data.DB.TDataSet.InternalSetToRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

virtual void __fastcall InternalSetToRecord(NativeInt Buffer)/* overload */;
virtual void __fastcall InternalSetToRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer)/* overload */;

Properties

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

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