IIF (In-line If) Function

FerméDescription

Defines a conditional expression and the expressions to run depending on the outcome of the conditional expression.

FerméSyntaxe

IIF(ConditionalExpr, ExprIfTrue, ExprIfFalse)

Where:

FerméRemarques

Only one of the two expressions (ExprIfTrue or ExprIfFalse) are run each time the IIF function runs. Either of these expressions can be any valid single line expression, including additional ("nested") IIF functions.

For more information about the IIF function, refer to Using the In-line If (IIF) Function.

Rubriques connexes