TdxStorageItemCustomDataBinding.ValueType Property
Specifies the name of the active data type.
#Declaration
property ValueType: string read; write;
#Property Value
Type | Description |
---|---|
string | The name of the active data type (case-insensitive). Refer to the table in the Remarks section for the list of supported value type names. |
#Remarks
Use the ValueType
or ValueTypeClass property to change the data type of stored values. The following table lists supported value types and the corresponding property values.
Value |
Value |
TField |
Description |
---|---|---|---|
'String' |
Tcx |
ft |
Unicode string values. |
'Wide |
Tcx |
ft |
Wide string values. |
'Smallint' |
Tcx |
ft |
16-bit signed integer values. |
'Integer' |
Tcx |
ft |
32-bit signed integer values. |
'Word' |
Tcx |
ft |
16-bit unsigned integer values. |
'Boolean' |
Tcx |
ft |
Boolean values. |
'Single' |
Tcx |
ft |
Single precision floating-point values. |
'Float' |
Tcx |
ft |
Double precision floating-point values. |
'Currency' |
Tcx |
ft |
Monetary values. |
'Date |
Tcx |
ft |
Date and time values. |
'Large |
Tcx |
ft |
64-bit signed integer values. |
'FMTBcd' |
Tcx |
ft |
Binary-encoded decimal values that can be converted to Currency without a loss of precision. |
'SQLTime |
Tcx |
ft [4] |
High-precision date and time values. |
'Variant' |
Tcx |
ft |
Values of any type. |
'BLOB' [5] |
Tcx |
fs |
BLOBs (Binary Large OBjects) as values. BLOB values are most often used for storing files in a database. |
'Object' [6] |
Tcx |
ft |
Values that store non-visual objects (TObject descendant instances) with arbitrary data for an unbound editor or Data Grid item. |
-
The
ValueType
property setter updates the ValueTypeClass property according to the assigned value. -
The ValueTypeClass property setter updates the
ValueType
property according to the assigned value. -
This column lists the corresponding TFieldType values.
-
'SQLTimeStamp'
also corresponds to the TSQLTimeStamp type. -
Use this value type with those controls and editors that support BLOB.
-
Use this type only in custom or inherited components because DevExpress and standard VCL components have no information on actual content of such values.