Data.DB.TIntegerField.SetAsString
Delphi
procedure SetAsString(const Value: string); override;
C++
virtual void __fastcall SetAsString(const System::UnicodeString Value);
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | protected | Data.DB.pas Data.DB.hpp | Data.DB | TIntegerField | 
Description
Sets the value of the field with the given string value.
SetAsString converts the input string to the corresponding integer and sets the field's value with the obtained result.