Creating If Statements
Open a report template in RDA.
Click the object (section, variable, data item, and so forth) to which you want to attach event rules.
If you are working with columnar or group sections, click the section.
From the Edit menu, select Event Rules.
You can also right-click the object and select Event Rules.
On the Event Rules Design form, select an event from the drop-down menu of the events list.
For example, select the Do Section event. This event is the most commonly used event in columnar and group sections.
From the Insert menu, select If/While.
You can also click the If/While button on the toolbar.
On the Criteria Design form, define the criteria for the event rules.
Click OK to save the If statement and return to the Event Rules Design form.
The If statement appears on the Event Rules Design form.
You can move lines of the event rules to other locations. Select a line and drag it to the desired position.