Data.DB.TBCDField.GetText
[–] 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.
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
.