Data.DB.TField.Value
From RAD Studio API Documentation
Delphi
property Value: Variant read GetAsVariant write SetAsVariant;
C++
__property System::Variant Value = {read=GetAsVariant, write=SetAsVariant};
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| property | public | Data.DB.pas Data.DB.hpp |
Data.DB | TField |
Description
Represents the data in a field component.
Use Value to read data directly from and write data directly to a field component at run time. For example, use the Value property to affect the contents of a field that is not Visible.
Note: For BLOB fields (Data.DB.TBlobField), the Value property is equivalent to the AsString property. The string data (Delphi) or AnsiString (C++) type can store binary data as well as text. Thus, even BLOB fields for nontextual BLOB types such as
ftGraphicorftTypedBinarycan get or set their data using a string (Delphi) or an AnsiString (C++).
See Also
Code Examples