CRField
::dataType
typedef word CRDataType;
CRDataType dataType() const;
Return Value
Field type. May be one of the following values:
dtUnknown, dtString, dtInt32, dtInt64, dtInt, dtInteger, dtFloat, dtDouble, dtDate, dtBlob, dtClob.
Description
Returns the type of the field.
Example
int value;
if (dataset.field(0).dataType == dtInt)
value = dataset.field(0).getInt();
See Also
Data types
CRField
|
Classes
|
OCL
|
Index