Data.DB.TField.FieldValueError
Delphi
procedure FieldValueError;
C++
void __fastcall FieldValueError();
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | protected | Data.DB.pas Data.DB.hpp | Data.DB | TField | 
Description
Raises an EDatabaseError exception.
TField calls FieldValueError when you assign an invalid value to this field.
The message of the exception contains the following text:
- Invalid value for field '%s'
Where %s is the display name of the field.