RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TVariantField Class

TVariantField represents a variant field in a dataset.

Pascal
TVariantField = class(TField);
C++
class TVariantField : public TField;

DB

TVariantField encapsulates the fundamental behavior common to fields that contain Variant data.  

If you use the Fields editor at design time to create a persistent field component for the variant field, you can access it by name at runtime. When using dynamic field components, you can access the TVariantField instance using the dataset's Fields property or FieldByName method. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!