Data.DB.TNumericField.InvalidIntegerError

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure InvalidIntegerError(const Value: string);

C++

void __fastcall InvalidIntegerError(const System::UnicodeString Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TNumericField

Description

Raises an EDatabaseError exception.

TNumericField calls InvalidIntegerError when you assign as a string an invalid integer value to this field.

The message of the exception contains the following text:

'%s' is not a valid floating point value for field '%s'

Where the first %s is the string passed to SetAsString and the second %s is the display name of the field.

See Also