Data.DB.TDataSet.GotoBookmark

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

procedure GotoBookmark(Bookmark: TBookmark);

C++

void __fastcall GotoBookmark(TBookmark Bookmark);

Description

Implements a virtual method to position the dataset on the record to which a specified bookmark points.

GotoBookmark calls an internal method that is an empty stub in TDataSet. Descendants of TDataSet redeclare and implement the internal method so that GotoBookmark makes the record identified by the Bookmark parameter active.

Note: Unidirectional datasets do not support bookmarks. Calling GotoBookmark on a unidirectional dataset does not change the active record.

See Also

Code Examples