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. This topic describes how you can create data container links in a banded object.
A data container link includes:
- A set of link conditions which dynamically filter out data of the child data component.
- A set of parameter links (if the child data component has parameters) which assign some fixed values to the child component parameters, so that at runtime, users do not need to specify 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, you can get a table according to the ID of the customer.
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 box.
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 to link with the parent data component, because you have selected the child as the target of the link. For more information about how to set up the link, refer to Subreports.