I'm setting up one of my forms to make sure the user enters data into the fields and generates a error in a message box if the value is null.
What I have so far is this
If IsNull(Me.txtModel) Then
MsgBox "Please enter the Model Information", vbCritical, "Canceling Update"
Me.txtModel.SetFocus
Cancel = True
End If
So when the user go's to save the new asset if one of the fields that I require (for reports and queries to work correctly) is left blank, warn the user that it was left blank and don't allow the user to continue until something is entered in, the code works but I receive two pop up box's and I should only be seeing one. I'm putting this in BeforeUpdate as well.