johngordon
Technical User
I am trying to use send object to email a report. The problem I am having is that the report will only mail once.
I have attached the code that I am using:
I do not understand why it is only mailing once. The code looks ok to me.
I am open to any suggestions.
Thanks,
John
I have attached the code that I am using:
Code:
Private Sub Command42_Click()
DoCmd.SendObject acReport, "rptPharmacyOrder", "HTML (*.html)", PharmacyEmail, "", "", "Express - Refill Order", "Please refill the attached order", False, ""
End Sub
I do not understand why it is only mailing once. The code looks ok to me.
I am open to any suggestions.
Thanks,
John