Data.DB.TField.GetText
| [–] Properties | |
|---|---|
| Type: procedure function
| |
| Visibility: protected | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: TField | |
Delphi
procedure GetText(var Text: string; DisplayText: Boolean); virtual;
C++
virtual void __fastcall GetText(System::UnicodeString &Text, bool DisplayText);
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.