Maptitude GISDK Help

GetFieldWidth()

Summary

Gets the display width of a field.

 

Syntax

field_width = GetFieldWidth(string field_spec)

 

Argument

Contents

field_spec

A field spec

 

Returns

An integer indicating the display width of the field.

 

Notes

Example

curr_width = GetFieldWidth("States.Population")

SetFieldWidth("States.Population", curr_width + 2)

 

Error Codes

Error Type

Meaning

Error

The input field specification is ambiguous

NotFound

The input field does not exist

 

See Also

Function

Summary

SetFieldWidth()

Changes the display width of a field

GetFieldInfo()

Returns the data type, display width, decimals, and index flag for a field

 

 

©2025 Caliper Corporation www.caliper.com