A family of Microsoft relational database management systems designed for ease of use.
I tried your suggestion but I am still getting the error messages. Below is my entire VBA and one of the error messages I am getting.
Function Morning()
On Error GoTo Err_Handler
DoCmd.SetWarnings False
DoCmd.OpenQuery "A2- IDCD\_INBOUND\_RECORDS\_TO\_CREATE", acViewNormal, acEdit
DoCmd.OpenQuery "A3 - DELETE\_OUTBOUND\_ORIG", acViewNormal, acEdit
DoCmd.OpenQuery "A4 - DELETE\_OUTBOUND\_ORIG\_01", acViewNormal, acEdit
DoCmd.OpenQuery "A5 - DELETE\_IDCD\_OUTBOUND\_ORIG\_GROUP+SUB-GROUP (Field)", acViewNormal, acEdit
DoCmd.OpenQuery "A6 - DELETE\_OUTBOUND", acViewNormal, acEdit
DoCmd.OpenQuery "A7 - DELETE\_IDCD\_INBOUND\_FINAL\_FROM\_PSI", acViewNormal, acEdit
DoCmd.OpenQuery "A8 - DELETE\_IDCD\_INBOUND\_FINAL", acViewNormal, acEdit
DoCmd.OpenQuery "A9 - DELETE\_IDCD\_INBOUND\_FINAL\_FROM\_PSI (Prep)", acViewNormal, acEdit
Exit_Here:
DoCmd.SetWarnings True
Exit Sub
Err_Handler:
MsgBox Err.Description, vbExclamation, "Error"
Resume Exit\_Here
End Function