Hi Please help with below: Fields are Quantity UnitPrice Discount Price
I cannot get Price to update the total....?
Private Sub ProductID_AfterUpdate()
Me.UnitPrice = Me.ProductID.Column(2)
End Sub
(This bit actually works and places the product price in UnitPrice)
Private Sub Quantity_AfterUpdate()
Me.Price = Round(Me.Quantity * (Me.UnitPrice - (Me.UnitPrice * Me.Discount)))
End Sub
Private Sub Price_AfterUpdate()
Call Quantity_AfterUpdate
End Sub
Please help cannot understand why it doesnt work, the debug does not see any errors in coding, yet no figure appears in price field.
REgards
Brian
I cannot get Price to update the total....?
Private Sub ProductID_AfterUpdate()
Me.UnitPrice = Me.ProductID.Column(2)
End Sub
(This bit actually works and places the product price in UnitPrice)
Private Sub Quantity_AfterUpdate()
Me.Price = Round(Me.Quantity * (Me.UnitPrice - (Me.UnitPrice * Me.Discount)))
End Sub
Private Sub Price_AfterUpdate()
Call Quantity_AfterUpdate
End Sub
Please help cannot understand why it doesnt work, the debug does not see any errors in coding, yet no figure appears in price field.
REgards
Brian