I am guessing your boss doesn't know much about Database Design or the Rules of Normalization.It is the set-up that my boss is requiring me to use. I agree and understand the reasoning as to not do such, however I must do what I am told at this point.
Would they even be aware that they were looking at a Query and note a Table?
Even if you could make the argument about storing the Tax, you should never store the Total, as that just adds up those two fields.
The danger is doing so is not only does it violate the rules of Normalization and Database Design, it undermines the dynamic nature of the database, and data integrity!
For example, what if there was an error and you needed to go back and fix it. If someone fixes the Tax amount, but not the Total, you could have numbers that do not add up to the Total you show! That is very bad!!!
However, if you really want to do it that way, the easiest way is to put VBA code on the AfterUpdate event of your saleAmt field. If all your amount fields are bound to the underlying table, it will update these calculation back to your table:
By the way, you will also want to set the Locked property on the saleTax and saleTotal fields on this Form to True, so users can only see these values and not override the calculations.Code:Private Sub saleAmt_AfterUpdate() Me.saleTax = Me.saleAmt * Round(0.25, 2) Me.saleTotal = Me.saleAmt + Me.saleTax End Sub