From Xojo Documentation
| This item was deprecated in version 2019r2.
Please use DatabaseRow.ColumnType as a replacement.
Returns the type of the field in the DatabaseRecord specified by idx. The fields are in a 0-based array. The field type codes are the same as those returned by FieldSchema.
This example displays the field type of the third field in the DatabaseRecord rec.