how to email a report

  • Thread starter Thread starter Guest
  • Start date Start date
You can add a button to a form and use the button wizard to email a report
when the button is clicked. The wizard will do all the work for you. The
code created by that wizard (in case you want to do it some other way) looks
like this:

Private Sub Command15_Click()
On Error GoTo Err_Command15_Click

Dim stDocName As String

stDocName = "Designs"
DoCmd.SendObject acReport, stDocName

Exit_Command15_Click:
Exit Sub

Err_Command15_Click:
MsgBox Err.Description
Resume Exit_Command15_Click

End Sub
 
It should be File/Send to/Mail recpient/RTF. If you want to maintain the
fromatting of the report select Snapshot instead of RTF
 
I simply right click on the report (in the data access page)..."SEND TO" and
use my groupwise...
 

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

Similar Threads


Back
Top