Delphi Examples: DbiGetBookMark

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Delphi Examples: DbiGetBookMark

Return to chapter overview

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;