API:Data.DB.TAggregateField.GetText

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

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 TAggregateField

Description

Returns the field's value as a string.

Data.DB.TAggregateField.GetText inherits from Data.DB.TField.GetText. All content below this line refers to Data.DB.TField.GetText.

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