ComponentOne True DataControl 8.0
IIF Function

The IIF function is equivalent to its Visual Basic counterpart. That is, it returns the result of one of two expressions depending upon the value of a boolean condition. If the condition (first argument) is True, the function returns the value of the second argument; otherwise, it returns the value of the third argument.

Syntax

IIF(condition, truepart, falsepart)

Argument

condition is a Boolean expression that determines which expression is evaluated.

truepart is evaluated if condition is True.

falsepart is evaluated if condition is False.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback