Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What is correct syntax for removing CR & LF from memo fi
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00797767
Message ID:
00797771
Views:
26
This message has been marked as the solution to the initial question of the thread.
The carriage return has code 13 and the line feed - 10.
REPLACE memofield WITH STRTRAN(memofield, CHR(13)+CHR(10), "")
>Hi
>
>What is the correct syntax for removing carriage return and line feed from a memo field.
>
>Replace memofield with strtran(memofield,?,"") where ? is the bit I can't remember.
>
>Thanks
>
>Colin
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform