GodofSmallThings
MIS
I would like to subtract [quantity] from [stock]. If the
[quantity] is greater than [stock] a message is posted --
"Unable to complete order". I have this part complete.
How do I set [quantity] to focus and then if the amount
is valid. Subtract the [quantity] from [stock] This is
what I have so far....
Private Sub QUANTITY_AfterUpdate()
If [QUANTITY] > [STOCK] Then
MsgBox "UNABLE TO COMPLETE ORDER!"
Else
End If
End Sub
[quantity] is greater than [stock] a message is posted --
"Unable to complete order". I have this part complete.
How do I set [quantity] to focus and then if the amount
is valid. Subtract the [quantity] from [stock] This is
what I have so far....
Private Sub QUANTITY_AfterUpdate()
If [QUANTITY] > [STOCK] Then
MsgBox "UNABLE TO COMPLETE ORDER!"
Else
End If
End Sub