IIF (In-line If) Function

CerradoDescripción

Defines a conditional expression, as well as the expressions to execute depending on the outcome of the conditional expression.

CerradoSintaxis

IIF(ConditionalExpr, ExprIfTrue, ExprIfFalse)

Donde:

CerradoObservaciones

Only one of the two expressions (ExprIfTrue or ExprIfFalse) will get executed each time the IIF function is executed. Cualquiera de estas expresiones puede ser cualquier expresión válida de una sola línea, incluidas las funciones adicionales IIF ("anidadas").

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

Temas relacionados