Overview

The flow Repeater control allows you to repeat the output for a set of sub-components, looping over items in a query. Each item would then provide an input to the data sources of the sub-components. This would allow you to output a single report which contains multiple subsections such as a set of Job Tickets based on a query that defines a set of Jobs.

Create a Repeater control

When you are configuring a report document with a repeater control you need to select the Repeater type. A configuration dialog is displayed on the right hand side.

alt text

The configuration dialog allows you to define the following fields for the control:

  • Data source

    This displays a dialog that allows you to select a data source. Although you can select any type of data source, for this control to be useful you would normally select an AQS type data source, which should produce multiple results that are used by the controls within the repeater control.

  • Header to repeat on

    This field allows you to select a header from the datasource that is used to define how many times the repeater cycles through the data.

  • Margins

    This field allows you to define the margins around the control, see Flow control margins.

  • Relative width

    This field allows you to control the relative horizontal width of the control, see Flow control width.

alt text

Once you have completed configuring the repeater control, you can now add other controls to the repeater control.

Select the icon within the repeater control to display the list of available controls.

alt text

When you have added the controls you need within the repeater you can configure each control. You should ensure that controls that require a data source use the same data source as the repeater control.

alt text

The controls within the repeater are executed for each query result from the repeater control.