From Xojo Documentation


DataSet.Type(FieldName as String) As Integer

Supported for all project types and targets.

Declares the field types for the data in the dataset. Returns an Integer that indicates the data type.


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.