Background: WindowsXP, OfficeXP, GroupWise Simple Access form displaying single record, including email address. On button-click, want to go to visual basic and use doCmd.sendObject to display an email dialog box in GroupWise. I'm pretty sure things are set up okay on our network, cause the email/merge with Word seems to work fine.
Private Sub cmdSendEmail_Click()
Dim strToWhom As String
Dim strMsgBody As String
strToWhom = Me!
'have also tried forms!frmStudents!email and janetb@mtn.ncahec.org as a test
strMsgBody = "Important information about your community health rotation schedule."
DoCmd.SendObject acSendNoObject, , acFormatRTF, strToWhom, , , "Dear Student", strMsgBody, True
End Sub
On click, the error message reads "Windows Messaging! The form required to view this message cannot be displayed. Contact your administrator."
Sure would appreciate any assistance,
Thanks,
Janet
Private Sub cmdSendEmail_Click()
Dim strToWhom As String
Dim strMsgBody As String
strToWhom = Me!
'have also tried forms!frmStudents!email and janetb@mtn.ncahec.org as a test
strMsgBody = "Important information about your community health rotation schedule."
DoCmd.SendObject acSendNoObject, , acFormatRTF, strToWhom, , , "Dear Student", strMsgBody, True
End Sub
On click, the error message reads "Windows Messaging! The form required to view this message cannot be displayed. Contact your administrator."
Sure would appreciate any assistance,
Thanks,
Janet