Previous Next

Task 10:  Link the payments subreport to the customers master report

You link the payments subreport to the customers master report by binding its CustID parameter to the CUSTOMERNUMBER field in the customers report.

1  
2  
3  
4  
In the Binding page, choose Data Set Parameter Binding. Data Set Parameter Binding displays the CustID parameter. Its value is set to the default, 103, which you specified when you created the data set parameter.
5  
1  
2  
3  
In the expression builder, choose Available Column Bindings, choose List, then double-click CUSTOMERNUMBER. The expression builder displays the expression row["CUSTOMERNUMBER"]. Choose OK to save the expression and close the expression builder.
4  
In Edit data set parameter binding, choose OK to accept the new parameter value. Data Set Parameter Binding displays the new value of row["CUSTOMERNUMBER"] for the CustID parameter, as shown in Figure 13-22.

Figure 13-22 Modified data set parameter binding for the Payments table

Figure 13-22  Modified data set parameter binding for the Payments table
6  
7  
Preview the report. Now the report displays different payment records for different customers. Not all customers have payment records. To display only customers that have payments or orders, you change the query for the customers report.

(c) Copyright Actuate Corporation 2012