G
Guest
I do a validation on a Form Close to check for 2 qties to match, If they
don't match I give a message and I want the Form to stay Open. Unfortunately
the form closes. My VBA code is below:
Private Sub Form_Close()
On Error GoTo ProcError
If Me.[txtQtyA] <> Me.[txtTotQty] Then
MsgBox "Qty Not Equal - Pse Correct"
End If
Can somebody show me what to do.
Thanks
Dan
don't match I give a message and I want the Form to stay Open. Unfortunately
the form closes. My VBA code is below:
Private Sub Form_Close()
On Error GoTo ProcError
If Me.[txtQtyA] <> Me.[txtTotQty] Then
MsgBox "Qty Not Equal - Pse Correct"
End If
Can somebody show me what to do.
Thanks
Dan