DoCmd.SendObject Help

B

Bgreer5050

When I send the report below "OpenPOsQueryReport" it is sent as an
attachment. Is there a way to have it sent in the message body?

Thanks


Private Sub Report_Page()
On Error GoTo Err_Command14_Click


Dim stDocName As String


stDocName = "OpenPOsQueryReport"
DoCmd.SendObject acReport, stDocName, acFormatTXT, [Expr1], , , ,


Exit_Command14_Click:
Exit Sub


Err_Command14_Click:
MsgBox Err.Description
Resume Exit_Command14_Click


End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top