Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting TextMerge data from a Memo Field
Message
From
04/08/2000 14:50:45
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00401249
Message ID:
00401297
Views:
15
>I would like to put text with << vfp fields and functions >> into a separate table, then use this data with textmerge. What I can not figure out how to do is then use the memo field data in the PRG with TEXTMERGE. For example, if I have the following data in my memo field:
>
>\Based on the character of the hydrogeologic factors around the setting; the nature of these potential contaminant sources, and their proximity to the well; and the physical integrity of the well; this well has been determined to have a << iif(watersrc.net_score = 3, "HIGH", iif(watersrc.net_score = 2, "MEDIUM", "LOW")) >> susceptibility to contamination.
>\
>\(*) Estimated value based on Best Professional Judgement.
>\
>
>How would you write the PRG so this is interpretted correctly?
>
>TIA

Mark,

You can try this, but I don't know if it will work with big strings:
cText = "\" + table.memofield
&cText
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform