Data.DB.TField.GetText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure GetText(var Text: string; DisplayText: Boolean); virtual;

C++

virtual void __fastcall GetText(System::UnicodeString &Text, bool DisplayText);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Data.DB.pas
Data.DB.hpp
Data.DB TField

Description

Returns the field's value as a string.

The GetText method internally calls GetAsString to populate the Text parameter with the field's value returned as a string.

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

See Also