API:Data.DB.TBCDField.SetAsString

From RAD Studio API Documentation
Jump to: navigation, search

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 TBCDField

Description

Sets the value of the field with the given string value.

Data.DB.TBCDField.SetAsString inherits from Data.DB.TField.SetAsString. All content below this line refers to Data.DB.TField.SetAsString.

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.

See Also