[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'DB' (#fcl)

TDataSet.BookmarkValid

Test whether ABookMark is a valid bookmark.

Declaration

Source position: db.pas line 1670

public function TDataSet.BookmarkValid(

  ABookmark: TBookMark

):Boolean; virtual;

Arguments

ABookmark

  

Bookmark pointer to test

Function result

True if ABookmark is a valid bookmark.

Description

BookmarkValid returns True if ABookMark is a valid bookmark for the dataset. Various operations can render a bookmark invalid: changing the sort order, closing and re-opening the dataset. BookmarkValid always returns False in TDataset. Descendent classes must override this method to do an actual test.

Errors

If the bookmark is a completely arbitrary pointer, an exception may be raised.

See also

TDataset.GetBookmark

  

Get a bookmark pointer (deprecated)

TDataset.SetBookmark

TDataset.FreeBookmark

  

Free a bookmark obtained with GetBookmark (deprecated)

TDataset.BookmarkAvailable


Documentation generated on: Jun 23 2021