Hi
I have done this before and it worked great but for some reason it's not working now.
Here is the code i'm using on the form before update
Private Sub Form_BeforeUpdate(Cancel As Integer)
If IsNull(Me.[User]) Then
MsgBox "Please enter User Name!!!"
Cancel = True
User.SetFocus
End If
If IsNull(Me.[Provider Name]) Then
MsgBox "Please enter Provider Name!!!"
Cancel = True
[Provider Name].SetFocus
End If
End Sub
Here is a copy of the db[ATTACH]10605