Calculation on Forms Using Truth Tables
  • 12 Mar 2021
  • 1 Minute to read
  • Dark
    Light

Calculation on Forms Using Truth Tables

  • Dark
    Light

Article summary

Example Lab Article
While Example Lab projects are resources for public use, articles and assets are not actively maintained. Screenshots and features are from the specified version below. These references may become dated as new versions are released.


Overview

Example Lab Details

Version6.12.1
Root FolderExample Lab - Calculation on Form
Modules None
DependenciesNone

This Example Lab lets the user select four variables on a form, then have values be dynamically calculated and displayed on a second form based on those selections.


Explanation

First, a unique ID is generated with a different prefix depending on what status is selected.  Then, four separate truth tables are run that return different numbers based on the selections.  Next, all of the results from those truth tables are added together, and finally, the new ID and the calculation result are displayed back to the user.

Reference Articles


Project Download

The examples attached were developed to be instructional and were not developed as officially supported components. For more information or to engage our service team to develop fully supported, production quality solutions, please contact services@decisions.com. Import the project below to a Decisions environment on version 6.12.1 or later using our Importing/Exporting article.





Was this article helpful?