[Overview][Types][Classes][Procedures and functions][Index] Reference for unit 'BufDataset' (#fcl)

TBufIndex.GetRecord

Gets prior/next record relative to the specified bookmark

Declaration

Source position: bufdataset.pas line 144

public function TBufIndex.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.


Documentation generated on: May 14 2021