Framework:IIF-Condition: Difference between revisions

From CoPlanner 11
Jump to navigationJump to search
No edit summary
Line 3: Line 3:
IF(<Condition>,<Statement>,<ElseStatement>);
IF(<Condition>,<Statement>,<ElseStatement>);


{| cellspacing="1" cellpadding="3" width={{{breite|80%}}}  border="1"
{| class="wikitable" width="80%"
|-
|-{{Tabellentitel}}
| style=background-color:#f6f6f6 |'''Parameter'''
| Parameter  
| style=background-color:#f6f6f6 |'''Description'''
| Description
|-
|-
|Condition
|Condition

Revision as of 10:03, 6 March 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.

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'))';