Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I put a CR into a memo field?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00680421
Message ID:
00680424
Vues:
26
This message has been marked as a message which has helped to the initial question of the thread.
>I tried to put a CR in a memo field with CHR() but it does not seem to work.
>How do I get my memo field ready for a new line of text?

The new line combination is CR+LF -> CHR(13)+CHR(10).
lcCrLf = CHR(13)+CHR(10) 
lcMemo = "Line 1" + lcCrLf + "Line 2" + lcCrLf + "Line 3"
REPLACE mymemo WITH lcMemo
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform