[Overview][Types][Classes][Procedures and functions][Index] |
Gets prior/next record relative to the specified bookmark
Source position: bufdataset.pas line 144
public function TBufIndex.GetRecord( |
ABookmark: PBufBookmark; |
GetMode: TGetMode |
):TGetResult; virtual; |
ABookmark |
|
Pointer to the bookmark for the record |
GetMode |
|
Relative position for the requested record |
TGetResult value for the method
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.