I am using VFP to produce the body of an email message from a table.
The table contains 2 columns, a code and a value. Examples might be:
Scode Svalue
1000 1234
1001 5678
1002 Apple
I am producing the formatted body along the following lines:
lcBody= ""
FOR i= 1 TO 3
lcBody= lcBody + Scode +"="+ Svalue + CHR(13)
ENDFOR
The intention is for the email body to look like this:
1000=1234
1001=5678
1002=Apple
But when I create the email the body comes out as:
1000=12341001=56781002=Apple
Is there another code I should be using instead of CHR(13)?
Thanks in advance
John
The table contains 2 columns, a code and a value. Examples might be:
Scode Svalue
1000 1234
1001 5678
1002 Apple
I am producing the formatted body along the following lines:
lcBody= ""
FOR i= 1 TO 3
lcBody= lcBody + Scode +"="+ Svalue + CHR(13)
ENDFOR
The intention is for the email body to look like this:
1000=1234
1001=5678
1002=Apple
But when I create the email the body comes out as:
1000=12341001=56781002=Apple
Is there another code I should be using instead of CHR(13)?
Thanks in advance
John