Maptitude GISDK Help

GetFieldFormat()

Summary

Returns the format string used to display a numeric field.

 

Syntax

field_format = GetFieldFormat(string field_spec)

 

Argument

Contents

field_spec

A field spec

 

Returns

A string indicating the format used to display the field, or null if the field has no format string or if the field is string-typed.

 

Notes

Example

fmt = GetFieldFormat("Employee.PayRate")

 

Error Codes

Error Type

Meaning

Error

The input field specification is ambiguous

NotFound

The input field does not exist

 

See Also

Function

Summary

Format()

Formats a number

SetFieldFormat()

Changes the way a numeric field is formatted

GetFieldInfo()

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

 

 

©2025 Caliper Corporation www.caliper.com