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
- 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.
Fig. 1
- Add and configure a report variable of type decimal to contain the Business Object global value.
Fig. 2
- Add a databand and set up the filter for only one specific global variable value.
Fig. 3
-
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.
Fig. 4
- Add text components to display the variable value, and one to perform a calculation on that value.
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
Toolbox Release Notes | Build 24.1.1105.641
The following release notes apply to Toolbox build 24.1.1105.641 Nesting Fix Fig. 1: The fatal error that would occur during processing. There was reportedly an issue that occurred when clients attempted to process a work order using the nesting ...
Microvellum Foundation Library Release Notes | Build 24.1025
The following release notes apply to Microvellum Foundation Library build 24.1025. Additions Added new global variable “Remove Stop Dado On Bottom Edge” for wood drawer boxes. Check this option to run the dado through at the bottom of the sub front ...
Toolbox Release Notes | Build 24.1.1030.641
The following release notes apply to Toolbox build 24.1.1030.641 Routing and Profile Fixes Several issues were found with routing and polyline paths: Fig. 1: Horizontal routes off of a part disappearing (left) and appearing correctly (right). When ...
Toolbox Release Notes | Build 24.1.1010.641
The following release notes apply to Toolbox build 24.1.1010.641 Biesse Winstore Fix Several issues with the Biesse Winstore plugin have been resolved: There was an issue that would sometimes occur wherein materials that were intended to stack wound ...
Toolbox Release Notes | Build 24.1.1001.641
The following release notes apply to Toolbox build 24.1.1001.641 HBore Toolfile Fix Fig. 1: The location in the Toolfile UI where the error would occur. There was an issue reported with the functionality of the Horizontal Boring Machine setting in ...