Data.Win.ADODB.TCustomADODataSet.SetBookmarkFlag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetBookmarkFlag(Buffer: TRecordBuffer; Value: TBookmarkFlag); override;

C++

virtual void __fastcall SetBookmarkFlag(System::PByte Buffer, Data::Db::TBookmarkFlag Value)/* overload */;
inline void __fastcall  SetBookmarkFlag(NativeInt Buffer, Data::Db::TBookmarkFlag Value){ Data::Db::TDataSet::SetBookmarkFlag(Buffer, Value); }

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.Win.ADODB.pas
Data.Win.ADODB.hpp
Data.Win.ADODB TCustomADODataSet

Description

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

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