Advantage Database Server

TAdsTable.AdsGetBookmark

Advantage TDataSet Descendant

TAdsTable.AdsGetBookmark

Advantage TDataSet Descendant

This is the first topic This is the last topic  

TAdsTable.AdsGetBookmark

Advantage TDataSet Descendant

This is the first topic This is the last topic  

Retrieves a bookmark for a later call to AdsGotoBookmark.

Syntax

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.

Description

AdsGetBookmark returns the physical record number. It is the equivalent of AdsGetRecordNum called with IGNORE _WHEN_COUNTING.

Example

AdsTable1.FindKey( [‘Smith’] );

oBookMark := AdsTable1.GetBookmark;

AdsTable1.Next;

 

AdsTable1.GotoBookmark( oBookMark );

See Also

AdsGetRecordNum

AdsGotoBookmark

AdsGotoRecord