Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace memo field content
Message
From
16/08/1999 14:18:51
 
 
To
16/08/1999 13:12:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00254128
Message ID:
00254175
Views:
25
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform