I am using this code to insure that required fields are filled in before my form closes. The check works but now I cant close my form.
If IsNull(Me![Last Name]) Or Me![First Name] Or Me![MRN] Or Me![VisitType] = Chr(32) Then
Response = MsgBox(Msg, Style, Title)
Else
DoCmd.close
End If
Any thoughts?? Zorro
If IsNull(Me![Last Name]) Or Me![First Name] Or Me![MRN] Or Me![VisitType] = Chr(32) Then
Response = MsgBox(Msg, Style, Title)
Else
DoCmd.close
End If
Any thoughts?? Zorro