R
Richard Messer via AccessMonster.com
I need to populate the subject line of my email with the TrackingNo which
is the autonum on my form. When I click the submit button, it should send
an email to the person along with the trackingno in the subject line.
Everything is working EXCEPT the subject line. Here's my code:
Private Sub Submit_Click()
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Dim strCC As String 'this is needed to populate the CC block on
the EMail form
Dim strSubj As String 'this is needed to populate the SUBJ block on
the EMail form
DoCmd.SendObject acSendNoObject, , , Me.AssignedTo.Column(1), , , "", "YOU
HAVE AN ISSUE TO RESOLVE. Please go to the Discrepancy Tool and resolve
within 3-days. THANK YOU!"
DoCmd.SendObject acSendNoObject, , , , , , "&[Me.TrackingNo]& " '"
End Sub
Thanks,
Richard
is the autonum on my form. When I click the submit button, it should send
an email to the person along with the trackingno in the subject line.
Everything is working EXCEPT the subject line. Here's my code:
Private Sub Submit_Click()
Dim dbs As DAO.Database
Dim rst As DAO.Recordset
Dim strCC As String 'this is needed to populate the CC block on
the EMail form
Dim strSubj As String 'this is needed to populate the SUBJ block on
the EMail form
DoCmd.SendObject acSendNoObject, , , Me.AssignedTo.Column(1), , , "", "YOU
HAVE AN ISSUE TO RESOLVE. Please go to the Discrepancy Tool and resolve
within 3-days. THANK YOU!"
DoCmd.SendObject acSendNoObject, , , , , , "&[Me.TrackingNo]& " '"
End Sub
Thanks,
Richard