Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to insert text into a memo field
Message
From
28/04/2006 15:14:31
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
28/04/2006 13:10:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01117575
Message ID:
01117635
Views:
21
I went with this and it worked like a charm. Thanks!

>Use the STUFF command--
>
>
>lcTxtToInsert = " Some text to insert "
>lnNdx = 10     && Insertion point
>REPLACE mytable.mymemo WITH STUFF(mytable.mymemo,lnNdx,0,lcTextToInsert)
>
>
>You have to determine the insertion point (lnNdx). The third parameter with a value of zero (0) on STUFF inserts the text; if a value (>0) is set then the text is replaced from start point.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform