Maptitude GISDK Help

GetFieldType()

Summary

Gets the data type of a field.

 

Changes

In Version 2013 added field type "DateTime."

 

Syntax

field_type = GetFieldType(string field_spec)

 

Argument Contents
field_spec A field spec

 

Returns

A string denoting the data type of the field: "String", "Integer", "Real", or "DateTime."

 

Notes

Example

typ = GetFieldType("States.Name")     // typ = "String"

 

Error Codes

Error Type Meaning
Error The input field specification is ambiguous
NotFound The input field does not exist

 

See Also

Function Summary
GetFieldInfo() Returns the data type, display width, decimals, and index flag for a field
GetFieldTableType() Gets the data type of a field in tables and joined views

 

 

©2025 Caliper Corporation www.caliper.com