In the control source property of the textbox that will display the total price
=DLookup("[UnitPrice]", "ProductList", "[ProductID] = " & me!cboProduct) * me!txtQuantity
BTW, direct from Access help on DLookup Function:
You can also use the DLookup function in an expression in a calculated...