From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

DatabaseRecord.FieldType(idx As Integer) As Integer

Supported for all project types and targets.

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.

Sample Code

This example displays the field type of the third field in the DatabaseRecord rec.