Bde.DBTables.TBDEDataSet.InternalSetToRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InternalSetToRecord(Buffer: TRecordBuffer); override;

C++

virtual void __fastcall InternalSetToRecord(System::PByte Buffer)/* overload */;
inline void __fastcall  InternalSetToRecord(NativeInt Buffer){ Data::Db::TDataSet::InternalSetToRecord(Buffer); }

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Bde.DBTables.pas
Bde.DBTables.hpp
Bde.DBTables TBDEDataSet

Description

Moves to the record with the given record buffer.

Bde.DBTables.TBDEDataSet.InternalSetToRecord inherits from Data.DB.TDataSet.InternalSetToRecord. All content below this line refers to Data.DB.TDataSet.InternalSetToRecord.

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