ma access: sendobject on error go back to form
问题 I have a database that runs through with no issues, but when the user exits the email instead of emailing the report, an error appears. Right now the code shows: DoCmd.SendObject acSendReport, "AUS_Main", acFormatPDF, "heather@gmail.com", , , _ "AUS Checklist and Orders", "My AUS checklist and orders are attached." DoCmd.Quit acQuitSaveAll On Error GoTo Trap Leave: On Error GoTo 0 Exit Sub Trap: If Err.Number <> 2501 Then MsgBox Err.Description, vbCritical Resume Leave End Sub I want the