This is what I put under the AfterUpdate property of a field named [Order_Type] which has three types: Regular, Urgent and Very Urgent; whereas when it comes to Urgent, then customer would have to pay a fee of $20 and the return date would be Date()+1; like wise with Very Urgent.
Private Sub Order_Type_AfterUpdate()
If [Order_Type] = "Urgent" Then
Me.Total = Round(Me.Total + 20)
If [Order_Type] = "Very Urgent" Then
Me.Total = Round(Me.Total + 30)
End If
End Sub
Please correct my code above. Not sure what's wrong with that. Thanks a bunch
Private Sub Order_Type_AfterUpdate()
If [Order_Type] = "Urgent" Then
Me.Total = Round(Me.Total + 20)
If [Order_Type] = "Very Urgent" Then
Me.Total = Round(Me.Total + 30)
End If
End Sub
Please correct my code above. Not sure what's wrong with that. Thanks a bunch