Data.DB.TDataSet.SetBookmarkFlag

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetBookmarkFlag(Buffer: TRecBuf; Value: TBookmarkFlag); overload; virtual;
procedure SetBookmarkFlag(Buffer: TRecordBuffer; Value: TBookmarkFlag); overload; virtual; deprecated 'Use overloaded method instead';

C++

virtual void __fastcall SetBookmarkFlag(NativeInt Buffer, TBookmarkFlag Value)/* overload */;
virtual void __fastcall SetBookmarkFlag _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (System::PByte Buffer, TBookmarkFlag Value)/* overload */;

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TDataSet

Description

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