API:Data.DB.TBCDField.GetText

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: TBCDField

Delphi

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

C++

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

Description

Returns the field's value as a string.

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