Here is all the code, I have taken your suggestion and removed unnecessary code, "I inherited the database".
Error is still occurring
Private Sub btn_ClosefrmAction_Click()
On Error GoTo Err_btn_ClosefrmAction_Click
Dim DelAction As Integer
DelAction = MsgBox("If you EXIT from this view you will Delete this Action record, 'DO YOU WISH TO CONTINUE'", vbYesNo)
If DelAction = vbYes Then
Me.Undo
txb_TickHoldasActioned.Value = 0
lbl_ActionDetail.Visible = False
cmb_ActionDetail.Visible = False
lbl_EstRepairTime.Visible = False
txb_Repair_Time.Visible = False
lbl_PartailScrap.Visible = False
txb_PartialScrap_Length.Visible = False
lbl_RemakeReqYes.Visible = False
chk_RemakeReqYes.Visible = False
lbl_RemakeReqNo.Visible = False
chk_RemakeReqNo.Visible = False
lbl_Scrap.Visible = False
lbl_MgtApproval.Visible = False
lbl_Release.Visible = False
DoCmd.Close acForm, "frm_Action"
Else
DELETED
End If
Exit_btn_ClosefrmAction_Click:
Exit Sub
Err_btn_ClosefrmAction_Click:
MsgBox Err.Description
Resume Exit_btn_ClosefrmAction_Click
End Sub