Hi, I've been working on a small project and I got a problem. What I'd like is to substract a value from a text box with the value from another textbox and insert the result in the database.
E.G.
txtBox Quantity: 10
txtBox Quantity used: 4
It'd then update Quantity with "Quantity-Quantity used" and reset the Quantity used to 0. I know how to do substraction but I haven't figured out how to used the txtBox that does the substraction to insert into the Table.
Another way I thought of is filling both text box and doing the calculation when you update the selected row.
I'm currently using a macro that does something similar but it's very ineffective because it updates every field in my database which slows the whole thing.
Hope this is clear enough.
Thanks