| Maptitude GISDK Help |
Returns information about an expression (formula) field.
info_array = GetExpressionInfo(string field_spec)
| Argument | Contents |
|---|---|
| field_spec | The name of the expression field |
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 |
inf = GetExpressionInfo("Regions.[Change in Sales]")
| Error Type | Meaning |
|---|---|
| Error | The input field is not an expression field |
| NotFound | The specified field does not exist |
| 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 |