Returns the underlying datatype of the QueryFieldDef object. The CType enum that is returned identifies the basic column datatype of the field.
VBScript
queryfielddef.DataType
Perl
$queryfielddef->GetDataType();