Sign in Join
FPDoc Onlineexperiment

TBufIndex.GetRecord function

Member of TBufIndexpublicIn unit BufDataset

Gets prior/next record relative to the specified bookmark.

Declaration

pascal
function GetRecord(ABookmark: PBufBookmark; GetMode: TGetMode)
: TGetResult; virtual

Arguments

ABookmark

Pointer to the bookmark for the record.

GetMode

Relative position for the requested record.

Function result

TGetResult value for the method.

Description

GetRecord is used to get the prior/next record relative to the specified bookmark. GetRecord is a virtual method that should be overridden in a descendent class; the implementation in TBufIndex simply returns the value grError as the return value for the method.

Please note that GetRecord should not change the current record in the dataset on exit.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.