Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I put a CR into a memo field?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00680421
Message ID:
00680424
Views:
25
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--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform