on the Submit button, have the code check all fields, then allow or prevent:
Code:
sub btnSubmit_click()
If IsValidForm() Then
'post changes
SaveData
DoCmd.Close
End If
Private Function IsValidForm() As Boolean
Dim vMsg
Select Case True
Case IsNull(forms!subform!form!dtpWeekOf)
vMsg = "Date field missing"
Case IsNull(forms!subform!form!cboUser)
vMsg = "Teacher name is missing"
Case IsNull(forms!subform!form!cboSubj)
vMsg = "Subject field is missing"
End Select
If vMsg <> "" Then MsgBox vMsg, vbCritical, "Required Field"
IsValidForm = vMsg = ""
End Function