I have created (2) forms, one for the user to input new data and one for the user to change existing data (using the video you provided above). I've made it so that an error message pops up if the user doesn't fill in a required field on the new data form. However, I cannot figure out how to have the same error message pop up if required fields are deleted on the existing data form. I'm assuming this has something to do with the Me.Requery code I've incorporated to get all of the fields to populate with the existing data. I've included the code below, any help is greatly appreciated. Thanks!
Code:
Private Sub myselector_AfterUpdate()
Me.Requery
End Sub
Private Sub SubmitAndClose_DblClick(Cancel As Integer)
On Error GoTo Err_SubmitAndClose_DblClick
DoCmd.RunCommand acCmdSaveRecord
DoCmd.Close
Exit_SubmitAndClose_DblClick:
Exit Sub
Err_SubmitAndClose_DblClick:
MsgBox Err.Description
Resume Exit_SubmitAndClose_DblClick
End Sub
Private Sub SubmitAndOpen_DblClick(Cancel As Integer)
On Error GoTo Err_SubmitAndOpen_DblClick
DoCmd.RunCommand acCmdSaveRecord
DoCmd.Close
DoCmd.OpenForm "Existing Change Estimate"
Exit_SubmitAndOpen_DblClick:
Exit Sub
Err_SubmitAndOpen_DblClick:
MsgBox Err.DescriptionResume Exit_SubmitAndOpen_DblClick
End Sub
Private Sub Cancel_DblClick(Cancel As Integer)
DoCmd.Close
End Sub