Data.DB.TBCDField.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 TBCDField

Description

Returns the field's value as a string.

The GetText method populates the Text parameter with the field's value returned as a string. If the field is a currency field and the DisplayText parameter is True, the format is set to ffCurrency; otherwise, the format is set to ffFixed. If the field is other than a currency field, the format is set to ffGeneral.

See Also