Advantage TDataSet Descendant
Retrieves a bookmark for a later call to AdsGotoBookmark.
function AdsGetBookmark : Longint;
CAUTION It is recommended that this Advantage extended method not be used. Please read the Caution About Extended Methods for more information. The suggested native Delphi method to use instead is: GetBookmark. See your Delphi documentation for more information about this native Delphi method.
AdsGetBookmark returns the physical record number. It is the equivalent of AdsGetRecordNum called with IGNORE _WHEN_COUNTING.
AdsTable1.FindKey( [‘Smith’] );
oBookMark := AdsTable1.GetBookmark;
AdsTable1.Next;
AdsTable1.GotoBookmark( oBookMark );