Ga naar hoofdinhoud Ga naar aanvullende inhoud

Working with sub-bands in PixelPerfect reporting

Sub-bands allow you to create multiple versions of the same report band to display different content based on conditions. You can create advanced, dynamic output that is tailored to any number of scenarios, such as specific field values, aggregated totals, and more.

Creating sub-bands

  1. Create one or more bands that support sub-bands in your PixelPerfect template. For a highly formatted table, this can be the GroupHeader band.

    Typically, the parent band is connected to a data binding, rather than the sub-bands themselves.

  2. Right-click the band, and select Insert Sub-Band. Add as many sub-bands as desired.

After you have created sub-bands, you can customize them with conditional logic. For example, to show sub-band data conditionally:

  1. Select a sub-band.

  2. Click Formula on the right side panel to expand the Expressions menu.

  3. In the menu, click the three-dot icon next to Visible.

    The Expression Editor opens.

  4. Define the conditional expression—for example, an Iif expression.

  5. Repeat the process for each sub-band.

Uses

You can use sub-bands to:

  • Dynamically include or exclude data from reports using a condition—for example, use this to filter for an individual field value or hide elements unless an aggregation has a large enough value.

  • Style report content dynamically.

Example

For an example of using sub-bands to create a highly formatted table, see Example - Highly formatted table with sub-bands.

Was deze pagina nuttig?

Als u problemen ervaart op deze pagina of de inhoud onjuist is – een tikfout, een ontbrekende stap of een technische fout – laat het ons weten!