Data.DB.TGetResult

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: enum
Visibility: public
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: Data.DB

Delphi

TGetResult = (grOK, grBOF, grEOF, grError);

C++

enum DECLSPEC_DENUM TGetResult : unsigned char { grOK, grBOF, grEOF, grError };

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.


See Also