Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remove carriage returns in memos
Message
From
12/06/2001 09:23:11
 
 
To
12/06/2001 08:08:01
Denis Filer
University of Oxford
United Kingdom
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00518280
Message ID:
00518331
Views:
16
>Is there an obvious way to remove trailing carriage returns at the end of memo field - nasty in reports that display alltrimed memos. I have tried a substr() command replacing chr(13) with "" but this not working. Thank you in advance if someone knows the best way.

To add to the 2 suggestions you already have...

I encountered a problem similar to this, one of my users had managed to insert 1000's of CR's on the end of a memo field

They went to lunch with a book resting on the keyboard
But at the end of the CR's they had carried on typing into the memo field and then hit save.
This took me ages to find.. (stretch to fit over 15 pages) I thought the report was corrupted etc.

I suppose what I'm getting round to is that maybe you should look through the entire memo field not just at the end.

Will
Will Jones
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform