Framework:IIF-Condition: Difference between revisions
From CoPlanner 11
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
|The embedded statement(s) to be executed if expression is false. | |The embedded statement(s) to be executed if expression is false. | ||
|} | |} | ||
This function belongs to [[:Category:Functions_-_client-side|client-side functions]]. | |||
==Return== | ==Return== | ||
If expression is true, Statement is returned, if the expression is true, ElseStatement is returned. | If expression is true, Statement is returned, if the expression is true, ElseStatement is returned. | ||
==Example== | ==Example== | ||
Latest revision as of 08:50, 24 May 2012
Function
IF(<Condition>,<Statement>,<ElseStatement>);
| Parameter | Description |
| Condition | Is an expression that returns TRUE or FALSE |
| Statement | The embedded statement(s) to be executed if expression is true. |
| ElseStatement | The embedded statement(s) to be executed if expression is false. |
This function belongs to client-side functions.
Return
If expression is true, Statement is returned, if the expression is true, ElseStatement is returned.
Example
IIF('TimeDimFlag([Zeit.ID])'='Y','yyyy','MMM yy'))';