DataSet.Type
From Xojo Documentation
Method
Declares the field types for the data in the dataset. Returns an Integer that indicates the data type.
Notes
The field types are the SQL field types listed in the Database.FieldSchema entry. The reporting engine uses this to determine whether the column is numeric and whether the Format function should be applied.