I want to multiply qty by price per unit using both the
control and the query together. This is what I've done
and it seems to work but how do I then store the value of
txtTotalPrice into the table with field name TotalPrice?
Private Sub cmdTotalPrice_Click()
txtTotalPrice = (DLookup("[qryToolPrice]!
[ToolPrice]", "qryToolPrice", "[qryToolPrice]![ToolID]='"
& [lstGetToolDetail] & "'")) * txtNewQty
End Sub