Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting carriage returns in a memo field
Message
De
22/06/2012 13:20:04
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01546530
Message ID:
01546660
Vues:
52
>>>>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

Any character With a string. Sure ?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform