Skip to main content
Version: 20 R7 BETA

LISTBOX Get column formula

LISTBOX Get column formula ( {* ;} object ) -> Function result

ParameterTypeDescription
*OperatorIf specified, object is an object name (string)If omitted, object is a variable
objectanyObject Name (if * is specified) or Variable (if * is omitted)
Function resultStringFormula associated with column

This command is not thread-safe, it cannot be used in preemptive code.

Description

The LISTBOX Get column formula command returns the formula associated with the list box column designated by the object and * parameters. Formulas can only be used when the “Data Source” property of the list box is either Current Selection, Named Selection, or Collection or Entity Selection. If no formula is associated with the column, the command returns an empty string.

If you pass the optional * parameter, this indicates that the object parameter is an object name (a string). If you do not pass this parameter, this indicates that the object is a variable. In this case, you pass a variable reference instead of a string. This parameter must designate a column of the list box.

See also

LISTBOX SET COLUMN FORMULA