Understanding Groups in the Report Designer

Understanding Groups in the Report Designer

The articles in this section of the Knowledge Base involve working with Groups for display in your reports. To access the Report Designer, select Toolbox Setup > Design Reports > Design (Report Type) Report. Select New Report to design a report from scratch or New Report from Existing. Select Designer to open Report Designer.

Grouping data is one of the main tasks when rendering reports. Grouping is used both for aesthetic reasons and for the logical separation of Data Rows. There are two bands used in creating grouped reports, the Group Header band, and the Group Footer band.


Fig. 01 – Group Header and Footer

Group Header Band

The Group Header band is responsible for rendering reports that use grouping. Without a Group Header band, it is impossible to generate grouped reports.

The Group Header band is only output once at the beginning of each group. This band is typically used to display header information such as a group name, data, or a grouping condition.

It is necessary to specify a grouping condition using the Group Header band editor, or the Condition property of the band, to create groups within a report.

A Header band is rendered before a Group Header band, regardless of the locations of the bands on the page in Report Designer.

Fig. 02 – Group Header Band

Figure 02 features a band with three Text Components and an Image Component. The component on the top provides the label for the group. Notice this label is the same as the condition determining the report grouping in the band’s header. The three Text Components beneath the group label are headers for the additional data populating the report. The final component is an Image Component for displaying images of the parts.

When rendering a report, the report generator binds the Group Header to the specified Data band that outputs data rows. There must be a Data band to generate reports because data rows are output using this band and because those data rows are the basis of the grouping in the report. Also, the sorting of the rows can be specified, which affects the order in which the groups are rendered.

Using the standard Footer Band with a grouped report would result in the footer being rendered at the end of the report after all of the groups have been output. When it is necessary to display a footer after each group, use the Group Footer band.

The Group Footer band is always output before the Footer band, regardless of where bands may be positioned on the page in Report Designer.

Fig. 03 – Group Footer Band in Report Designer

The Group Footer band outputs information that is specific to each group (See Figure 05 for an example of the Group Footer band in use). For example, when it is necessary to display a count for each group, place a Text Component on the Group Footer band and give it the following expression:

{Count()}

Grouping Conditions

To create a grouped report, a condition that establishes the groups must be created. This condition is set using the Condition property of the Group Header band, or by double-clicking the Group Header band and entering the condition in the Expression tab of the Group Condition window.


Fig. 04 – Condition Property

You MUST define a condition for every group, or no grouping takes place in the rendered report.

Conditions for grouping are generally just the name of a Data Column in the Data Source. As an example, Figure 03 features a report that is grouped by materials. All of the Parts with the same Materials will be grouped—the Materials column “{Parts.MaterialName}” is entered as the condition. 


Fig. 05 – Group by Material Report

The grouping condition used can be any valid value. For example, if you wanted the parts to be grouped according to their names, you could set the condition to a column from the database that contains the necessary part names data “{Parts.Name}.”


    • Related Articles

    • Using the Group Footer Band in Report Designer

      The articles in this section of the Knowledge Base involve working with Groups for display in reports. To learn more about Groups and how to access the Report Designer, see Understanding Groups in the Report Designer. This article regards working ...
    • Nesting Groups in Report Designer

      The articles in this section of the Knowledge Base involve working with Groups for display in reports. To learn more about Groups and how to access the Report Designer, see Understanding Groups in the Report Designer. This article explains the ...
    • Using Render Events on Group Header Bands in Report Designer

      The articles in this section of the Knowledge Base involve working with Groups for display in reports. To learn more about Groups and how to access the Report Designer, see Understanding Groups in the Report Designer. This article details Events in ...
    • Using Group Properties in Report Designer

      The articles in this section of the Knowledge Base involve working with Groups for display in reports. To learn more about Groups and how to access the Report Designer, see Understanding Groups in the Report Designer. This article details properties ...
    • Report Band Properties in Report Designer

      The articles in this section of the Knowledge Base involve working with Report Bands for display in your reports. To learn more about Report Bands, and how to access this section within the Report Designer, see Understanding Report Bands in Report ...
    • Recent Articles

    • Toolbox Release Notes | Build 24.1.0416.641

      The following release notes apply to Toolbox build 24.1.0416.641. Maestro Toolfile Fix There was an issue with Maestro SCM Toolfiles reportedly experienced by some users, wherein the labels output by autolabeling would be in incorrect positions, an ...
    • Toolbox Release Notes | Build 24.1.0409.641

      The following release notes apply to Toolbox build 24.1.0409.641 Saw Delimited Processing Station Figure 1: The Saw Delimited option in a custom processing station. New options have been added to saw processing stations to allow for control over data ...
    • Toolbox Release Notes | Build 24.1.0328.641

      The following release notes apply to Toolbox Build 24.1.0328.641 Fillet Token Fixes Issues were discovered in the use of fillet tokens on products that also had the IRIB setting enabled: Some users processed work orders with rounded parts, which ...
    • Microvellum Foundation Library Release Notes | Build 24.0322

      Additions Added the Master Angled Ends Cabinet. Added a Global prompt, "Hinge Plate Offset From Front" for easier control. Added “Double Division” option to Horizontal Designer Cabinets, 3 Door Cabinets, and other similar products. Added a new ...
    • Common Floating License Connectivity Issues

      This document lists common issues reported by users regarding the topic of Microvellum’s Floating License Activation (FLA) and the connectivity required for FLA to function. Firewall Blocking Activation of Floating License Some users have had an ...