Data.DB.TField.SetAsString
Delphi
procedure SetAsString(const Value: string); virtual;
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 | TField |
Description
Sets the value of the field with the given string value.
Descendants of TField that represent string fields override the SetAsString method to set the value of the field with the given string Value.
Trying to call the SetAsString method raises an exception.