FireDAC.Comp.DataSet.TFDDataSet.InternalSetToRecord

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InternalSetToRecord(Buffer: TRecBuf); override;

C++

virtual void __fastcall InternalSetToRecord(NativeInt Buffer)/* overload */;
inline void __fastcall  InternalSetToRecord _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer){ Data::Db::TDataSet::InternalSetToRecord(Buffer); }

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
FireDAC.Comp.DataSet TFDDataSet

Description

Moves to the record with the given record buffer.

FireDAC.Comp.DataSet.TFDDataSet.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