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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

new line in MyCDONTS

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
I am trying to do:
MyCDONTSMail.Body="From"+whoF+"To "+whoT;

and I need to put a new line in... I am using javascript instead of vb... \n does not seem to work ("from "+whoF+\n+...)

ani ideas
 
does not CHR(13) work? if not try \r Saturday 12.00
im6.gif
im2.gif
im2.gif
20.00
im5.gif
im4.gif
im7.gif
3.00am
im8.gif
Sunday [img http
 
Try "\r\n" Saturday 12.00
im6.gif
im2.gif
im2.gif
20.00
im5.gif
im4.gif
im7.gif
3.00am
im8.gif
Sunday [img http
 
found the problem: need to put \n in the string:

MyCDONTSMail.Body="From"+whoF+"\nTo "+whoT;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top