Calculated Fields in a form help display information quickly and easily

1 year ago
7

Forms are useful both in gathering and displaying information to our users. Sometimes, we can use a calculated control instead of writing an entire query to display a simple piece of information on our form.

In this video, we're going to learn how to create calculated controls, which are unbound text fields that perform calculations for you. We'll create a form that will help us calculate our net profit (retail price minus cost) directly in our form.

But we don't stop there! Our journey continues with adding another text box to calculate the 'net margin,' which is the net profit divided by the retail price. As we proceed, we'll learn to utilize an 'immediate if' (IIF) statement to avoid calculation errors when the retail price equals zero. By the end of the video, you will understand how to effectively name, format, and troubleshoot your calculated controls, enabling you to easily compute and display crucial business metrics on your database forms.

Keywords:

Database, Form Design, Add Fields, Unbound Text Fields, Calculated Controls, Net Profit, Net Margin, Immediate If Statement, Troubleshooting

See my other channels:
Current news on the economy and economic concepts:
https://www.youtube.com/@doctorecon
Current thoughts on leadership topics:
https://www.youtube.com/@pharosleadership
Blockchain and Cryptocurrency News:
https://www.youtube.com/@pharosblockchain

Loading comments...