Understanding Row Numbering in Master-Detail Reports

Understanding Row Numbering in Master-Detail Reports

The articles in this section of the Knowledge Base involve working with Master-Detail lists for display in reports. To learn more about Master-Detail Reports and how to access the Report Designer, see Creating a Master-Detail Report in Report Designer. This article explains numbering Master-Detail reports.

Just like with ordinary lists, the rows of a Master-Detail report can be numbered. However, there is one difference. When numbering is used in the Detail of the Data band, the numbering restarts for each sublist.


Fig. 01 – Numbered Master-Detail Report

The numbering for the Master list is in red, and the Detail lists are in blue. Notice how the Detail lists restart for each Product.

Besides using system variables, the numbering can be done using the Line property of the Data band. The expression to be entered into the Data Editor is as follows:

{ProductsBand.Line}. {Products.Name}
If DataBand1 has been renamed, ensure the new name is used. In the case above, the band name was changed to “ProductsBand.”

Using the Line property of the Data band is beneficial when there needs to be numbering for two different bands in one expression. For example, inserting the following expression on the Detail band results in the line number of the Master band being displayed alongside the number of the row in the Detail band:

{ProductsBand.Line}. {Line}. {Subassemblies.Name}

Fig. 02 – Report Template Example

When rendered, this results in the following:


Fig. 03 – Master-Detail Numbering Example
    • Related Articles

    • Creating a Master-Detail Report in Report Designer

      The articles in this section of the Knowledge Base involve working with and creating Master Detail Lists for display in reports. To access the Report Designer, select Toolbox Setup > Design Reports > Design (Report Type) Report. Select New Report to ...
    • Understanding Multi Level Nesting in Report Designer

      The articles in this section of the Knowledge Base involve working with Master-Detail lists for display in reports. To learn more about Master-Detail Reports and how to access the Report Designer, see Creating a Master-Detail Report in Report ...
    • Report Training Tutorial 4: Creating Master Detail Reports

      This is the fourth in a series of five Report Training Tutorial videos.  This video provides an introduction to Master Detail Reports including the required  Database Structure and Table Relations.  You'll learn how to create your own Master Detail ...
    • Understanding the Keep Details Property in the Report Designer

      The articles in this section of the Knowledge Base involve working with Master-Detail lists for display in reports. To learn more about Master-Detail Reports and how to access the Report Designer, see Creating a Master-Detail Report in Report ...
    • Understanding Sub Reports in Report Designer

      The articles in this section of the Knowledge Base involve working with the Sub Report component for display in your reports. To access the Report Designer, select Toolbox Setup > Design Reports > Design (Report Type) Report. Select New Report to ...
    • Recent Articles

    • Microvellum Release Notes | Build 26.1.0422.641

      The following release notes apply to Microvellum build 26.1.0422.641. BSB 2026 Microvellum BSB 2026 is now available for download and installation by users with an existing Microvellum BSB subscription. This new version of Microvellum is based on ...
    • Microvellum BSB 2026

      Microvellum BSB 2026 is now available for purchase and download. BSB 2026 introduces the Microvellum software bundled together with the BricsCAD Pro 2026 platform, with all of the accompanying changes and enhancements made after BricsCAD 2025. With ...
    • Microvellum Release Notes | Build 25.2.0406.641

      The following release notes apply to Microvellum build 25.2.0406.641. Label Image Fix Fig. 1: An error noting an incorrect number of Label Images. An issue was reported wherein creating new G-code from an existing work order that was edited using ...
    • Microvellum Foundation Library Release Notes | Build 26.0327

      The following release notes apply to Microvellum Foundation Library build 26.0327. Additions Added new Formula Driven Materials (FDM) and accompanying special FDM project wizard. * New Specification Group “Wizard Formula Driven Materials [FDM]”. New ...
    • Formula Driven Materials (FDM) User Guide

      The formula driven material (FDM) system in Microvellum automates the creation and management of materials within a project. By using predefined lookup tables and intelligent formulas, FDM dynamically generates each material’s name, thickness, and ...