Setting Up Data Container Links in Banded Objects
For banded objects in page reports, if there are other data components inserted inside them, you can use data container links to set up the relationship between the banded objects and their child data components.
A data container link includes:
- A set of link conditions which are used to dynamically filter out data of the child data component.
- A set of parameter links (if the child data component has parameters) which are used to assign some fixed values to the child component parameters so that at runtime, you do not need to enter values for them.
Assume that you have created a banded object showing the customer information. Then, you insert a table into the detail panel of the banded object, which displays the order information. Now you want to set up some link conditions between these two components, so that when you view the report, a table will be generated according to the ID of the customer as follows:
To achieve this, select the table and right-click it. On the shortcut menu, select Data Container Link, then specify the settings as required in the Link Data Container dialog.
Generally, a data container link functions the same as a subreport link. The only difference is that you do not need to specify a specific component that is linked with the parent data component, since you have selected the child as the target of the link. For additional information about how to set up the link, refer to Subreports.