How can i save a calculated value from textbox in to the table?
I tried to make my calculation as the default value, it’s saving but if i change the input my calculation doesn’t change. If i put it to into my Control Source i can’t save it than.
Is it possible to save the calculation in to the table?
Kind Regards,
Lukso
For the most part, you need to use an event. The After Update event of a control is usually suitable. For example
With the above form, in the After Update event for Tax and for Amount, you could update the bound control Total to Amount + Tax.
As usual with calculations, you must ask yourself is it relevant to store this calculation or can it be obtained from a query?
Finally, with Access 2010 came data macros and calculated columns, which may also suit.