Someone correct me if I'm wrong but IIF usually processes the entire statement where as an If statement will stop processing once it reaches a True condition. Someone came up with a need for that - but I can't come up with an example.
Here's what Crystal says: "Typical uses:
IIF can be used as an alternative to the If/Then/Else control structure in some situations.
One situation where IIF may be better than a control structure is when writing record selection formulas so that they can be pushed down to the database server. See Switch (expr1, value1, expr2, value2, ..., exprN, valueN) for an example of the techniques involved."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.