Data.Win.ADODB.TCustomADODataSet.InternalSetToRecord

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Unit: Data.Win.ADODB
Parent: TCustomADODataSet

Delphi

procedure InternalSetToRecord(Buffer: TRecordBuffer); override;

C++

virtual void __fastcall InternalSetToRecord(Data::Db::TRecordBuffer Buffer)/* overload */;
inline void __fastcall  InternalSetToRecord(Data::Db::TRecBuf Buffer){ Data::Db::TDataSet::InternalSetToRecord(Buffer); }

Description

Moves to the record with the given record buffer.

Data.Win.ADODB.TCustomADODataSet.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