Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Remove carriage returns in memos
Message
De
12/06/2001 09:23:11
 
 
À
12/06/2001 08:08:01
Denis Filer
University of Oxford
Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00518280
Message ID:
00518331
Vues:
17
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform