Parameter

Create a parameter for user input. This function is used in conjunction with the Ask function.

Variants

Parameter(column)

Enables parameterized searching over the specified column.

Parameters

column
The column for which to prompt the value.

Returns

The entered column value.

Remarks

The Parameter([Column]) function is equivalent to the following short form: [?Column].

Examples

Parameter(Column, Boolean required)

Enables the creation of a parameterized search for the specified column, with an option to require user input.

Parameters

column
The column for which to prompt the value.
required
Set to true to make user input mandatory for this parameter.

Returns

The entered column value.

Examples

Parameter(column, Text label)

Enables parameterized searching over the specified column and allows the use of a custom label instead of the column name.

Parameters

column
The column for which to prompt the value.
label
The text value to display in the user prompt instead of the column name.

Returns

The entered column value.

Examples

Parameter(column, Text label, Boolean required)

Enables the creation of a required parameterized search for the specified column and allows the use of a custom label instead of the column name.

Parameters

column
The column for which to prompt the value.
label
The text value to display in the user prompt instead of the column name.
required
Set to true to make user input mandatory for this parameter.

Returns

The entered column value.

Examples

Parameter(Text label, type)

Creates a parameter with the specified name and type without referencing a column.

Parameters

label
The parameter name to display in the user prompt.
type
The parameter type. Allowed values are: Text, Bool, Date, Time, Timestamp, Numeric, Duration, User, Location.

Returns

The entered parameter value.

Examples

Parameter(Text label, type, Boolean required)

Creates a required parameter with the specified name and type without referencing a column.

Parameters

label
The parameter name to display in the user prompt.
type
The parameter type. Allowed values are: Text, Bool, Date, Time, Timestamp, Numeric, Duration, User, Location.
required
Set to true to make user input mandatory for this parameter.

Returns

The entered parameter value.

Examples