Skip to content

TDataSet.GotoBookmark

Jump to bookmark.

Declaration

Source position: db.pas line 1939

public 
procedure TDataSet.GotoBookmark(const ABookmark: TBookMark);

Description

GotoBookmark positions the dataset to the bookmark position indicated by ABookMark. ABookmark is a bookmark obtained by the TDataset.GetBookmark function.

This function is deprecated, use the TDataset.Bookmark property instead.

Errors

if ABookmark does not contain a valid bookmark, then an exception may be raised.

See also

Name Description
TDataset.Bookmark Get or set the current cursor position.
TDataset.GetBookmark Get a bookmark pointer (deprecated).
TDataset.FreeBookmark Free a bookmark obtained with GetBookmark (deprecated).