Delphi Examples: DbiSetToBookMark

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Delphi Examples: DbiSetToBookMark

Return to chapter overview

Set the cursor to the bookmark position:

Delphi users should use the GoToBookmark method associated with descendents of TDataSet including TTable, TQuery, and TStoredProc rather than directly calling DbiSetToBookmark. This method is defined as:

procedure GotoBookmark(Bookmark: TBookmark);

The following code moves the the cursor to the record within Table1 to the corresponding bookmark obtained through a call to GetBookmark.

Table1.GoToBookmark(SetBookMark);