Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to insert text into a memo field
Message
From
30/04/2006 19:09:57
 
 
To
28/04/2006 13:25:29
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01117575
Message ID:
01117933
Views:
11
Add the following #DEFINE --
#DEFINE  CRLF  CHR(13)+CHR(10)
Then insert CRLF -- this should provide for a new paragraph (to insert a blank line, insert two CRLF's sequentially).


>Ok, good stuff so far from everyone. Have one problem left. Using CHR(13) or CHR(10) has no affect on the format of the text, just inserts some control characters. I need to break my text into paragraphs, but it doesn't seem to want to.
>
>>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
Reply
Map
View

Click here to load this message in the networking platform