Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to modify only a line in memo field programmatically
Message
De
12/09/1998 21:52:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00135875
Message ID:
00135881
Vues:
11
>For one, you could use StrTran() function to change a particular string in a memo field to a different string value. You could also use memlines() and mline() functions to loop through the lines in a memo field to programmatically rebuild a memo field to a variable then replace the memo field with the variable.

Also SUBSTR(), LEFT(), RIGHT() and all the other character string functions.

>To add lines with carraige returns, experiment with adding Chr(10) and/or chr(13) to the end of each line you add to a memo field. I don't think you will need to add chr(10).

It's better to use them both. CHR(10) is the line feed character and many programs/systems are looking for this character as line terminator.

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform