theinviter
Registered User.
- Local time
- Yesterday, 18:40
- Joined
- Aug 14, 2014
- Messages
- 251
Dears;
I Have Created a form where the user enter the quantity to request in Pcs. as i want after entering the value do a calculation by divide the Number on MOQ. and if there decimal number then show a message box and cancel and if the result without decimal them accept it.
can you guide me please:
Private Sub QTY_BeforeUpdate(Cancel As Integer)
If QTY / [Min OQ] = 1 Then
MsgBox " Please coorect the Quantity"
Else
End if
thanks
I Have Created a form where the user enter the quantity to request in Pcs. as i want after entering the value do a calculation by divide the Number on MOQ. and if there decimal number then show a message box and cancel and if the result without decimal them accept it.
can you guide me please:
Private Sub QTY_BeforeUpdate(Cancel As Integer)
If QTY / [Min OQ] = 1 Then
MsgBox " Please coorect the Quantity"
Else
End if
thanks