FireDAC.Comp.DataSet.TFDDataSet.SetBookmarkData

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
FireDAC.Comp.DataSet.pas
FireDAC.Comp.DataSet.hpp
Unit: FireDAC.Comp.DataSet
Parent: TFDDataSet

Delphi

procedure SetBookmarkData(Buffer: TRecBuf; Data: TBookmark); override;

C++

virtual void __fastcall SetBookmarkData(Data::Db::TRecBuf Buffer, Data::Db::TBookmark Data)/* overload */;
inline void __fastcall  SetBookmarkData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (Data::Db::TRecordBuffer Buffer, Data::Db::TBookmark Data){ Data::Db::TDataSet::SetBookmarkData(Buffer, Data); }
inline void __fastcall  SetBookmarkData _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (Data::Db::TRecordBuffer Buffer, void * Data){ Data::Db::TDataSet::SetBookmarkData(Buffer, Data); }

Description

Sets the bookmark for the record buffer given by the parameter.

FireDAC.Comp.DataSet.TFDDataSet.SetBookmarkData inherits from Data.DB.TDataSet.SetBookmarkData. All content below this line refers to Data.DB.TDataSet.SetBookmarkData.

Sets the bookmark for the record buffer given by the parameter.

SetBookmarkData is used to set the bookmark for the Buffer record buffer. The Data parameter is a pointer to the bookmark of the Buffer record.

The method is virtual. Every TDataSet descendant must implement it in a specific way. A record buffer stores the data of the record, the bookmark, and the bookmark flags.

Note: Unidirectional datasets do not use bookmarks.

See Also