Outlook removed - can't Email

Sonny Jim

Registered User.
Local time
Today, 10:35
Joined
Jan 24, 2007
Messages
98
Another contractor built a database for my client and felt they needed to remove MS Outlook. As a result, emails initiated from my form now give users the following error, " [FONT=&quot]Command or action "send object isn't available now". [/FONT]Any ideas on how to resolve this?[FONT=&quot]

Here is the event procedure that I use on my form button used to send Email of one of my reports:

Private Sub cmdEmailCompanyAwkRpt_Click()
On Error GoTo Err_cmdEmailCompanyAwkRpt_Click

Dim stDocName As String

stDocName = "rptCompAwkEmail"
DoCmd.SendObject acReport, stDocName

Exit_cmdEmailCompanyAwkRpt_Click:
Exit Sub

Err_cmdEmailCompanyAwkRpt_Click:
MsgBox Err.Description
Resume Exit_cmdEmailCompanyAwkRpt_Click

End Sub
[/FONT]
 
That sounds interesting. I will give that a try. Thanks a lot RuralGuy!
 

Users who are viewing this thread

Back
Top Bottom