Data.DB.TField.SetText

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.DB.pas
Data.DB.hpp
Unit: Data.DB
Parent: TField

Delphi

procedure SetText(const Value: string); virtual;

C++

virtual void __fastcall SetText(const System::UnicodeString Value);

Description

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

The SetText method internally calls SetAsString to set the field's value according to the given string Value.

Trying to call the SetText method as implemented in TField raises an exception.

See Also