Maptitude GISDK Help

GetExpressionInfo()

Summary

Returns information about an expression (formula) field.

 

Syntax

info_array = GetExpressionInfo(string field_spec)

 

Argument Contents
field_spec The name of the expression field

 

Returns

An array of four elements describing the expression field:

 

Element Type Contents
1 String The data type of the expression field: "string", "integer" or "real"
2 Integer The display width for the expression field
3 Integer The number of decimals displayed for the expression field
4 String The original expression from which this field was created

 

Example

inf = GetExpressionInfo("Regions.[Change in Sales]")

 

Error Codes

Error Type Meaning
Error The input field is not an expression field
NotFound The specified field does not exist

 

See Also

Function Summary
CreateExpression() Creates an expression field on a view
DestroyExpression() Destroys an expression field
GetExpressions() Returns an array of all expression fields of a view

 

 

©2025 Caliper Corporation www.caliper.com