FireDAC.Comp.DataSet.TFDDataSet.SetBookmarkFlag
Delphi
procedure SetBookmarkFlag(Buffer: TRecBuf; AValue: TBookmarkFlag); override;
C++
virtual void __fastcall SetBookmarkFlag(NativeInt Buffer, Data::Db::TBookmarkFlag AValue)/* overload */;
inline void __fastcall SetBookmarkFlag _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer, Data::Db::TBookmarkFlag Value){ Data::Db::TDataSet::SetBookmarkFlag(Buffer, Value); }
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. {{#multireplace:FireDAC.Comp.DataSet.TFDDataSet.SetBookmarkFlag|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Data.DB.TDataSet.SetBookmarkFlag|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Data.DB.TDataSet.SetBookmarkFlag|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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.