Question : Run-time error '2587' Report Problems can't complete the Output operation

Please help.

 I am getting a Run-time error '2587'
Report Problems can't complete the Output operation

When I debug the "DoCmd.SendObject acReport, "Computer Help Request", acFormatHTML, "1st email address", "2nd email address", , "Computer Help", , False" is indicated.

The whole thing looks like this:

Private Sub Form_Close()
    Dim stDocName As String

    stDocName = "Computer Help Request"
    DoCmd.SendObject acReport, "Computer Help Request", acFormatHTML, "1st email address", "2nd email address", , "Computer Help", , False

Exit_Email_Lori_Click:
    Exit Sub

Err_Email_Lori_Click:
    MsgBox Err.Description
    Resume Exit_Email_Lori_Click
End Sub

I have chaged the email address for this example. The emails in the string are correct and working email address.

Answer : Run-time error '2587' Report Problems can't complete the Output operation

does the report run fine by itself?

Although not strictly required, can u watp the report names in square brackets

can u pass in TRUE so as u get the email message as well, so as to confirm all is okay (once error goes away of course)
Random Solutions  
 
programming4us programming4us