Question : How do I place a control to return in the subject of an email

Good Day,

The code attached below places information from my form into the body of a lotus notes email.  The subject line (Call ComposeNotesMemo(SendTo) currently shows "MCO Individual Production Quality Review Score", I would like to include a specific number on the subject line: a control called the Datatrak Number (Me.DatatrakNumber).

So the subject line would look something like: MCO Individual Production Quality Review Score" - Datatrak Number - 111111.

Any assistance you can provide would be great!

Thanks
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
Body = "Good Day," & vbCrLf & vbCrLf & _
      "Please note the following QUALITY REVIEW SCORE:" _
      & vbCrLf & vbCrLf & "Datatrak Number - " & Nz(Me.DatatrakNumber, "") _
      & vbCrLf & "Effective Date - " & Nz(Me.EffectiveDate, "") _
      & vbCrLf & vbCrLf & "MCO Production Assigned - " _
      & vbCrLf
      
  End With
     Body = Body & vbCrLf & "Thank You"
     Call ComposeNotesMemo(SendTo, "MCO Individual Production Quality Review Score", Body)

Answer : How do I place a control to return in the subject of an email


dim Subj as string
subj="MCO Individual Production Quality Review Score - " & "Datatrak Number - " & Nz(Me.DatatrakNumber, "")

 Call ComposeNotesMemo(SendTo, Subj, Body)
 
Random Solutions  
 
programming4us programming4us