rick roberts
Registered User.
- Local time
- Today, 19:43
- Joined
- Jan 22, 2003
- Messages
- 160
can anyone tell me whats wrong with this code. im on access 2007 with sp3
it's meant to send the report rptCalculatorFax to my email address but i get a runtime error 2587 - cant complete the output operation
Code:
Private Sub cmdEmail_Click()
Dim stDocName As String
stDocName = "rptCalculatorFax"
DoCmd.SendObject acReport, stDocName, acFormatTXT, "rick@rrroberts.freeserve.co.uk", , , "Weekly Figures", , False
Exit Sub
End Sub
it's meant to send the report rptCalculatorFax to my email address but i get a runtime error 2587 - cant complete the output operation