IF-ENDIF construction in report

IF-ENDIF construction in report

 

Format of IF-ENDIF construction is:

\IF(<boolean value>)\

.............................................

\ELSEIF(<boolean value>)\

.............................................

\ELSEIF(<boolean value>)\

.............................................

\ELSE\

.............................................

\ENDIF\

 

\ELSEIF\ and \ELSE\ are optional.

<boolean value> may be a variable, data field or user defined function.