Maptitude GISDK Help |
Gets the data type of a field.
In Version 2013 added field type "DateTime."
field_type = GetFieldType(string field_spec)
Argument |
Contents |
field_spec |
A field spec |
A string denoting the data type of the field: "String", "Integer", "Real", or "DateTime."
The data type of a field cannot be changed in any way, unless the underlying data file is changed using ModifyTable().
typ = GetFieldType("States.Name") // typ = "String"
Error Type |
Meaning |
Error |
The input field specification is ambiguous |
NotFound |
The input field does not exist |
Function |
Summary |
Returns the data type, display width, decimals, and index flag for a field |
|
Gets the data type of a field in tables and joined views |
©2025 Caliper Corporation | www.caliper.com |