IIF (In-line If) Function

关闭描述

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

关闭语法

IIF(ConditionalExpr, ExprIfTrue, ExprIfFalse)

位置 :

关闭备注

Only one of the two expressions (ExprIfTrue or ExprIfFalse) are run each time the IIF function runs.其中的每个表达式都可以是任何有效的单行表达式,包括其他(“嵌套的”)IIF 函数。

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

相关主题