Datasnap.DBClient.TCustomClientDataSet.SetBookmarkFlag

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.DBClient.pas
Datasnap.DBClient.hpp
Unit: Datasnap.DBClient
Parent: TCustomClientDataSet

Delphi

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

C++

virtual void __fastcall SetBookmarkFlag(Data::Db::TRecBuf Buffer, Data::Db::TBookmarkFlag Value)/* overload */;
virtual void __fastcall SetBookmarkFlag _DEPRECATED_ATTRIBUTE1("Use overloaded method instead") (Data::Db::TRecordBuffer Buffer, Data::Db::TBookmarkFlag Value)/* overload */;

Description

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

Datasnap.DBClient.TCustomClientDataSet.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