Skip to content

TDataSet.FreeBookmark

Free a bookmark obtained with GetBookmark (deprecated).

Declaration

Source position: db.pas line 1921

public 
procedure TDataSet.FreeBookmark(ABookmark: TBookMark);  virtual;

Description

FreeBookmark must be used to free a bookmark obtained by TDataset.GetBookmark. It should not be used on bookmarks obtained with the TDataset.Bookmark property. Both GetBookmark and FreeBookmark are deprecated. Use the Bookmark property instead: it uses a string type, which is automatically disposed of when the string variable goes out of scope.

See also

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