Data.DB.TDataSet.SetBookmarkFlag

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TDataSet

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(TRecBuf Buffer, TBookmarkFlag Value)/* overload */;
virtual void __fastcall SetBookmarkFlag _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (TRecordBuffer Buffer, TBookmarkFlag Value)/* overload */;

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