Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting carriage returns in a memo field
Message
 
 
To
21/06/2012 12:33:16
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01546530
Message ID:
01546574
Views:
55
>>>Hi all,
>>>
>>>I have an edit box on a form where the user can type what they want. a button at the bottom send this via email but the email is set to text/html and I have to leave it this way as other emails get sent automatically that are formatted html. I've been trying but with no success to identify carriage returns in the field and replacing them with a
to try to add some formatting to the email.
>>>Any ideas?
>>>
>>>~M
>>
>>Try
>>
>>chrtran(myMemo, chr(13) +chr(10), '<br/>')
>
>Shouldn't that be STRTRAN()?????

No, if I want any of the characters changed, it has to be CHRTRAN
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform