TMemDataset.BookmarkValid function
Determines if the specified Bookmark is valid.
Declaration
function BookmarkValid(ABookmark: TBookMark): Boolean; overrideArguments
ABookmark | Bookmark to examine in the method. |
Description
BookmarkValid is an overridden Boolean function used to determine if the specified Bookmark is valid. BookmarkValid implements the virtual method defined in the ancestor class.
In TMemDataset, a Bookmark is considered to be valid when it contains an Integer value that represents a record in the in-memory dataset. Bookmarks are zero-based and must be less than the record count for dataset.
The return value is False when ABookmark is unassigned (contains Nil), or True when the preceding conditions are satisfied.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
