Framework:IIF-Condition

From CoPlanner 11
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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