RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TVarBytesField Class

TVarBytesField represents a variable-length untyped binary field in a dataset.

Pascal
TVarBytesField = class(TBytesField);
C++
class TVarBytesField : public TBytesField;

DB

A variable bytes field value is a set of bytes of variable size, with the actual length of the value stored in the first two bytes.  

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

 

TDataSet 

Defining a Data Field 

Defining a Lookup Field 

Defining a Calculated Field

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