Data.DB.TNumericField.InvalidFloatValue

From RAD Studio API Documentation
Revision as of 10:40, 28 January 2015 by AChaves (talk | contribs) (58484)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Delphi

procedure InvalidFloatValue(const Value: string);

C++

void __fastcall InvalidFloatValue(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 InvalidFloatValue when you assign as a string an invalid floating-point 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