Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Text Merge
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00671440
Message ID:
00671450
Views:
19
Hi Sergey,

Thanks for the quick reply. The FPW 2.6 way is a bit complex complared to the VFP7 way!

Thanks,

TFISHER

>See Textmerge()- vfp7 Message #463869 for pre VFP7 textmerge function.
>
>>Hi Sergey,
>>
>>Thanks for your quick reply. This works fine in VFP7. Unfortunately, I neglected to say I need this for a FPW 2.6 app. I have tried to SET TEXTMERGE ON, but that did not work. Do you have any suggestions for FPW 2.6?
>>
>>Thanks in advance.
>>
>>TFISHER
>>
>>>You can use TextMerge() function.
lcMemo = "The rain <<cInsertText>>falls mainly on the plain."
>>>cInsertText = "in Spain "
>>>? Textmerge(lcMemo)
>>>cInsertText = ""
>>>? Textmerge(lcMemo)
>>>
>>>>Hello,
>>>>
>>>>I have a memo field in a table. Generally, I can output the contents of the memo field as is. Other times, I need to insert the value of another character field into the middle of the memo field. How can I do this?
>>>>
>>>>For example, if the memo field reads: The rain falls mainly on the plain.
>>>>
>>>>I want the output to read: The rain in Spain falls mainly on the plain.
>>>>
>>>>I need to insert "in Spain" (which is contained in a character field) into the memo field text.
>>>>
>>>>Is it possible to do this?
Thanks,

TFISHER
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform