Else/Else If Statement
Else and Else If Statements, like If Statements, may or may not be used within loops to provide additional logic to the report book output. Else and Else If statements determine how book items within the hierarchy are processed. An If statement is needed to use an Else or Else If statement.
Statement: Enter a conditional statement using parameters to determine whether the child items will be processed. See examples in If Statement.
Example:
Loop1Variable: E#[Frankfurt], E#[Europe Clubs], E#[Clubs]
If Statement: (|Loop1Variable| = [Frankfurt])
If Loop1Variable is Frankfurt, run the report and file under the If statement.
Else If Statement: (|Loop1Variable| = [Europe Clubs])
Else If (or otherwise if) the Loop1Variable is Europe Clubs, run the report under the Else If statement.
Else: Else (in all other cases) run the report under the Else statement.