Data.DB.TField.SetAsString
[–] Properties | |
---|---|
Type: procedure function
| |
Visibility: protected | |
Source: Data.DB.pas Data.DB.hpp
| |
Unit: Data.DB | |
Parent: TField |
Delphi
procedure SetAsString(const Value: string); virtual;
C++
virtual void __fastcall SetAsString(const System::UnicodeString Value);
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.