Maptitude GISDK Help

SetFieldWidth()

Summary

Changes the display width of a field.

 

Syntax

SetFieldWidth(string field_spec, integer new_width)

 

Argument

Contents

field_spec

A field spec

new_width

The new display width for the input field.

 

Notes

Example

curr_width = GetFieldWidth("States.Population")

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

 

Error Codes

Error Type

Meaning

NotFound

The input field does not exist or the field specification is ambiguous

 

See Also

Function

Summary

GetFieldWidth()

Gets the display width of a field

GetFieldInfo()

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

ModifyTable()

Modifies the file structure of a dBASE, fixed-format text or fixed-format binary table

 

 

©2025 Caliper Corporation www.caliper.com