Actually it works if you don't click the "Clear All" button. But once I click save then close form it then pops into a field and you have to hit close form 2 or 3 or more times before it actually closes. Below is my "Save" Code and my "Close Form" code.
Clear All: (Which is actually a Undo All command it doesn't save the record)
Private Sub Undo_All_Click()
On Error GoTo Err_Undo_All_Click
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, , acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, , acMenuVer70
Me.Batch_Number_ID.SetFocus
Me.Batch_Number_ID.Enabled = True
Me.Document_Count.Enabled = False
Me.Date_of_Audit.Enabled = False
Me.Document_Type.Enabled = False
Me.Prepper_Name.Enabled = False
Me.Indexer_Name.Enabled = False
Me.Audit_Errors_Subform.Form.Prepper_Error.Enabled = False
Me.Audit_Errors_Subform.Form.Indexer_Error.Enabled = False
Exit_Undo_All_Click:
Exit Sub
Err_Undo_All_Click:
MsgBox Err.Description
Resume Exit_Undo_All_Click
End Sub
CLOSE:
Private Sub Close_All_Click()
On Error GoTo Err_Close_All_Click
DoCmd.Close
Exit_Close_All_Click:
Exit Sub
Err_Close_All_Click:
MsgBox Err.Description
Resume Exit_Close_All_Click
End Sub