Data.DB.TGetResult
Delphi
TGetResult = (grOK, grBOF, grEOF, grError);
C++
enum DECLSPEC_DENUM TGetResult : unsigned char { grOK, grBOF, grEOF, grError };
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| enum | public | Data.DB.pas Data.DB.hpp | Data.DB | Data.DB | 
Description
TGetResult is a set that is used to specify the results for the GetRecord method.
TGetResult is a set that is used as a return value for the GetRecord method. The possible values for TGetResult are listed in the following table:
| Value | Description | 
|---|---|
| grOK | No errors occurred while attempting to retrieve data from the current record. | 
| grBOF | Begin of file is returned when the dataset is at the beginning. | 
| grEOF | End of file is returned when the dataset is at the end. | 
| grError | An error occurred while attempting to retrieve data from the current record. |