Calculation on Forms Using Truth Tables
- 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Calculation on Forms Using Truth Tables
- Updated on 12 Mar 2021
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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 | |
Version | 6.12.1 |
Root Folder | Example Lab - Calculation on Form |
Modules | None |
Dependencies | None |
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?