Skip to content

TBufIndex.GetRecord

Gets prior/next record relative to the specified bookmark.

Declaration

Source position: bufdataset.pas line 181

public 
function TBufIndex.GetRecord(ABookmark: PBufBookmark; GetMode: TGetMode)
                             : TGetResult;  virtual;

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.