Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replace memo field content
Message
De
16/08/1999 14:18:51
 
 
À
16/08/1999 13:12:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00254128
Message ID:
00254175
Vues:
26
>How to replace the contents of a specific line from the memo field?
>

You can pull the content of the memo field out as a string an process it like any other string (using something like STUFF() or STRTRAN against the memo content, or process it line by line using MLINE() to pull a line at a time out from the memo field, building it into a memvar, and then using REPLACE to put it back); under VFP6, you can pull it to an array using ALINES(), replace the appropriate array members, and then reassemble into a single memvar, inserting appropriate line break characters as needed.)
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform