EPUB | CHM | PDF

TPSQLDataset.Methods.CompareBookmarks

Top Previous Next

Indicates the relationship between two bookmarks.

Syntax:

function CompareBookmarks(Bookmark1,
                          Bookmark2: TBookmark): Integer;

Description:

Call CompareBookmarks to determine if two bookmarks are identical. Bookmark1 and Bookmark2 are the bookmarks to compare. CompareBookmarks returns -1 if Bookmark1 is less than Bookmark2, 1 if Bookmark1 is greater than Bookmark2, and 0 if the bookmarks are identical or nil.