G
Guest
Thanks for all the follow up so far, I had to shelve the project I was
working on for a bit but am back at it now...please see below the code that I
entered for the send object method.
Private Sub Ctl15DayEmailBTA_Click()
Dim strMessage As String
Dim strSubject As String
strSubject = "New Recruit Approaching 15 Day BTA Meeting"
strMessage = Me.Recruit_Name & "in the" & Me.RecruitBranch & "branch is
approaching his 15 day anniversary of employment."
DoCmd.SendObject(,,,Me.Recruitemail,Me.EmailBOM;
Me.BTA_Email,,strsubject,strMessage)
End Sub
The Text boxes I am referring to on the form are labeled Recruit_Name,
RecruitBranch, Recruitemail, EmailBOM, and BTA_Email. However, when I go to
run it I get the compile error: syntax error message then it highlights in
red the DoCmd.sendobject line...do you see a problem with the code I am
missing and can you explain the error please.
Thank you.
working on for a bit but am back at it now...please see below the code that I
entered for the send object method.
Private Sub Ctl15DayEmailBTA_Click()
Dim strMessage As String
Dim strSubject As String
strSubject = "New Recruit Approaching 15 Day BTA Meeting"
strMessage = Me.Recruit_Name & "in the" & Me.RecruitBranch & "branch is
approaching his 15 day anniversary of employment."
DoCmd.SendObject(,,,Me.Recruitemail,Me.EmailBOM;
Me.BTA_Email,,strsubject,strMessage)
End Sub
The Text boxes I am referring to on the form are labeled Recruit_Name,
RecruitBranch, Recruitemail, EmailBOM, and BTA_Email. However, when I go to
run it I get the compile error: syntax error message then it highlights in
red the DoCmd.sendobject line...do you see a problem with the code I am
missing and can you explain the error please.
Thank you.