I am working with access forms, but I am having a problem when I try to calculate fields. I have three text box:
- Quantity
- Price
- Total
When I type numbers in quantity and price field the Total
field should get populated with the total of Quantity
and Prices
I have tried a lot of formulas like:
=[Quantity]*[Price]
But nothing happens when I put the form in Form View. In the Total
field I get #Error
.
One way to do it is to go into the After Update Event for whichever text box (assuming price for this example) is entered in last and then use the code
If you wanted to be more safe, you could do that code AND
Incase the users go out of order.