Framework:IIF-Condition: Difference between revisions
From CoPlanner 11
Jump to navigationJump to search
Created page with "==Function== IF(<Condition>,<Statement>,<ElseStatement>); {| cellspacing="1" cellpadding="3" width={{{breite|80%}}} border="1" |- | style=background-..." |
No edit summary |
||
| Line 2: | Line 2: | ||
IF(<Condition>,<Statement>,<ElseStatement>); | IF(<Condition>,<Statement>,<ElseStatement>); | ||
{| cellspacing="1" cellpadding="3" width={{{breite|80%}}} border="1" | {| cellspacing="1" cellpadding="3" width={{{breite|80%}}} border="1" | ||
|- | |- | ||
| style=background-color:#f6f6f6 |'''Parameter''' | | style=background-color:#f6f6f6 |'''Parameter''' | ||
| style=background-color:#f6f6f6 |''' | | style=background-color:#f6f6f6 |'''Description''' | ||
|- | |- | ||
| | |Condition | ||
| | |Is an expression that returns TRUE or FALSE | ||
|- | |- | ||
|Statement | |Statement | ||
| | |The embedded statement(s) to be executed if expression is true. | ||
|- | |- | ||
|ElseStatement | |ElseStatement | ||
| | |The embedded statement(s) to be executed if expression is false. | ||
|} | |} | ||
== | ==Return== | ||
Retouniert in Abhängigkeit der Bedingung einen Wert. Kann auch verschachtelt sein. | Retouniert in Abhängigkeit der Bedingung einen Wert. Kann auch verschachtelt sein. | ||
Revision as of 15:06, 18 November 2010
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. |
Return
Retouniert in Abhängigkeit der Bedingung einen Wert. Kann auch verschachtelt sein.
Beispiel
IIF('TimeDimFlag([Zeit.ID])'='Y','yyyy','MMM yy'))';