Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What is correct syntax for removing CR & LF from memo fi
Message
De
09/06/2003 04:17:11
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00797767
Message ID:
00797893
Vues:
24
>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

Colin,
Use ChrTran() instead of strtran(). chr(13) or chr(10) alone too acts as a linefeed.

replace memofield with ChrTran(memofield,chr(13)+chr(10),'')

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform