Business Objects - Configuring a Report to Display Globals (with Databands)

Business Objects - Configuring a Report to Display Globals (with Databands)

This is the third in a series of three tutorials that demonstrate how to configure Microvellum Business Objects in a sample report. This tutorial assumes that you have a basic understanding of Business Objects in Microvellum reports. Click  here   to see an overview of the subject.

It also assumes that the Business Objects have been set up in the report dataset. Click  here   to view the procedure for configuring them in the report dataset. This must be finished before attempting the procedure in this tutorial.

Click  here   to see a useful tutorial on how to set up a report using Business Objects using subreports.

This tutorial will focus on how to configure a report to display a custom global variable that has been added to the default global variables. It will assign that global value to a report variable that is then used in report calculations.

Global variable name:  Minimum_Cost_Panel_Report2

  1. Configure the global variable as a Business Object using the procedures in earlier tutorials. Click the button Edit Data Source from the report viewer screen to enter the Report Setup area to do this.

  2. Fig. 1


  3. Add and configure a report variable of type decimal to contain the Business Object global value.

  4. Fig. 2 


  5. Add a databand and set up the filter for only one specific global variable value.

  6. Fig. 3


  7. Add event code at the appropriate level for what you are trying to accomplish. In this case, it should be in the After Print event and should be the following value: decMinimum_Cost_Panel_Report2 = EstimateProject_GlobalVariables.Value.

    This expression sets a variable value with a global variable value.


  8. Fig. 4


  9. Add text components to display the variable value, and one to perform a calculation on that value.

  10. Fig. 5



    Fig. 6



    Fig. 7


Here is the rendered report:


Fig. 8


You may also download the import file for this sample report created using this article.


    • Related Articles

    • Business Objects - Configuring a Report to Display Globals (with Subreports)

      This is the second in a series of three tutorials that demonstrate how to configure Microvellum Business Objects in a sample report. This tutorial assumes that you have a basic understanding of Business Objects in Microvellum reports. Click  here  to ...
    • Business Objects - Configuring in a Report Dataset

      This tutorial is the first in a series of three that demonstrates how to configure Microvellum Business Objects in a sample report dataset. Click here   for an overview of how they are intended to be used. We will set up the dataset to contain the ...
    • Using Business Objects in Reports (Overview)

      The term "Business Object" is used in Microvellum to describe an object or entity that encapsulates or contains data. The Microvellum Business Objects are used in reports. They are set up when configuring the report dataset and contain either the ...
    • 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 ...
    • Working in the Sub Reports Editor of Report Designer

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

    • Microvellum Foundation Library Release Notes | Build 22.0520

      The following release notes apply to Microvellum Foundation Library, Build 22.0520 Please make sure you are selecting the correct specification group when drawing products. There may be specification groups for both metric and imperial. Additions: ...
    • The Range Hood - Add-on

      About the Library Add-on This is a “Master” Range Hood product capable of being used as is or saved back to the library numerous times in unlimited number of different combinations.  This Library Add-on is compatible with the Foundation Library. This ...
    • Toolbox Release Notes | Build 22.1.0406.641

      The following Release Notes apply to Toolbox Build 22.1.0406.641 Database Management Resolutions: Resolved an issue that caused template level projects to be deleted when deleting a seemingly “empty” category (this was caused by a mix-up in the ...
    • Microvellum Foundation Library Release Notes | Build 22.0407

      The following release notes apply to Microvellum Foundation Library, Build 22.0407 Please make sure you are selecting the correct specification group when drawing products. There may be specification groups for both metric and imperial. Additions: ...
    • Toolbox Release Notes | Build 22.1.0325.641

      The following Release Notes apply to Toolbox Build 22.1.0325.641 Toolfile Resolutions: Resolved an issue in certain post names where the pecking number was not working. Resolved an issue in certain post names where some face 6 machining was falling ...