TDataSet.BookmarkValid function
Test whether
ABookMark is a valid bookmark.
Declaration
function BookmarkValid(ABookmark: TBookMark): Boolean; virtualArguments
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
- GetBookmark
- SetBookmark
- FreeBookmark
- BookmarkAvailable
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
