|
<< Click to Display Table of Contents >> Delphi Examples: DbiCompareBookMarks |
![]() ![]()
|
Compare the relative positions of two bookmarks associated with the cursor.
See also the method GetBookmark associated with a TTable, TQuery, and TStoredProc. This example uses the following input:
Compare := fdbiCompareBookMarks(Table1, BookMark25, BookMark50);
function fdBICompareBookMarks(DataSet: TDataSet; Bookmark1, Bookmark2: TBookmark): Integer;
var
Compare: Integer;
begin
Check(DbiCompareBookMarks(DataSet.Handle, Bookmark1, Bookmark2, Compare));
Result:= Compare;
end;