Setting Up Custom Sections
Open a report template in RDA.
- Click the section from which you want to call the conditional section. 
- From the Edit menu, select Event Rules. 
- Select the Do Section event from the events drop-down list box. 
- From the Insert menu, select If/While and define the criteria for displaying the conditional section. 
- Click the If/While statement, and select System Function from the Insert menu. 
- On the Function Selection tab, expand the Section folder and double-click Do Custom Section. 
- On the Parameter Mapping tab, select the report section that you want to display when the defined criteria is met. - The section appears in the Values column of the Parameters table. 
- Click OK, and save the event rules. 
- In the RDA workspace, double-click the report section that you selected to appear only when the defined criteria is met. 
- On the appropriate section properties form, select the Advanced tab. 
- Select the Conditional option, and click OK.