Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Body of an Email using DoCmd.SendObject 1

Status
Not open for further replies.

danvzla

Programmer
Jan 16, 2004
28
FI
Hi.

I need to write in the body of an email.

This is the code I'm using:

Function SendEmail()
Dim email, Subject, Body As String
Dim APREJ As Variant


STATUS = Me.FrameToggle.Value

email = Me.Market_Label & "Distribution List"
Subject = "Datafill for sites:" & "Name of sites " & UpTN
Body = "STATUS: " & STATUS & UpTN & "Checked by " & Me.ComboRNWE & " . Thanks"

DoCmd.SendObject acSendForm, , acFormatTXT, email, , , Subject, Body, True

End Function

How can I do to show the information on the body with a multiline text:


STATUS:
TRACKING No:
CHECKED BY:
PHONE:

And no: STATUS: TRACKING No: CHECKED BY: PHONE:

Thanks

Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top