IIf

Evaluates a Boolean conditional dynamic expression. Depending on whether the expression is true or false, dynamically evaluates one of two string expressions and returns the result.

Returns: any

Usage

IIf( condition, string_expression1, string_expression2 )

Arguments

Argument Description
condition
(boolean, required)

An expression that can be evaluated as a Boolean.

string_expression1
(string, required)

Expression to evaluate and return if condition is true.

string_expression2
(string, required)

Expression to evaluate and return if condition is false.

Examples

There are currently no examples for this function.