FireDAC.Comp.DataSet.TFDDataSet.SetBookmarkFlag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetBookmarkFlag(Buffer: TRecBuf; AValue: TBookmarkFlag); override;
procedure SetBookmarkFlag(Buffer: TRecordBuffer; AValue: TBookmarkFlag); overload; override;

C++

virtual void __fastcall SetBookmarkFlag(NativeInt Buffer, Data::Db::TBookmarkFlag AValue)/* overload */;
virtual void __fastcall SetBookmarkFlag(System::PByte Buffer, Data::Db::TBookmarkFlag AValue)/* overload */;

Properties

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

Description

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

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

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

SetBookmarkFlag is used to set the bookmark flag for the Buffer record buffer. The Value parameter is a TBookmarkFlag and is the value to set.

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