|
<< Click to Display Table of Contents >> Delphi Examples: DbiGetBookMark |
![]() ![]()
|
Set a bookmark on the current position of a cursor:
Delphi users should use the GetBookmark method associated with descendents of TDataSet including TTable, TQuery, and TStoredProc rather than directly calling DbiGetBookmark. This method is defined as:
function GetBookmark: TBookmark;
The following saves the current record information of the dataset to allow you to return to that record with a later call to the GotoBookmark method.
Table1.GetBookmark;