GetExpressions()

Summary

Returns an array of all expression fields defined in a view.

Syntax

field_names_array = GetExpressions(string view_name)

Argument Contents
view_name The view of interest

Returns

An array containing the names of all expression fields in the view.

Notes

  • If view_name is null, GetExpressions() returns information about the current view.

  • If the input view does not exist or the input view_name is null and there is no current view, GetExpressions() returns null.

  • If the input view is a joined view, the array returned includes expression fields created on the joined view as well as those created on component views.

Example

// Get all expressions on the State view
exprs = GetExpressions("States")

See Also

Function Summary
CreateExpression() Creates an expression field on a view
DestroyExpression() Destroys an expression field
GetExpressionInfo() Returns information about an expression (formula) field