Maptitude GISDK Help

SetFieldFormat()

Summary

Changes the way a numeric field is formatted.

 

Syntax

SetFieldFormat(string field_spec, string field_format)

 

Argument Contents
field_spec A field spec
field_format The new format for the input field; or null to clear a field of its format string

 

Notes

Example

SetFieldFormat("Employee.Salary", "$,######")

SetFieldFormat("States.PopDensity", "*.000")

 

Error Codes

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

 

See Also

Function Summary
GetFieldFormat() Returns the format string used to display a numeric field
Format() Formats a number

 

 

©2025 Caliper Corporation www.caliper.com