Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with SET TEXTMERGE
Message
 
To
23/11/2011 02:23:55
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01529623
Message ID:
01529663
Views:
41
Thanks Al. I had a mashup of these 2 lines of code into just one line of code and i had left off TO MEMVAR in my last attempt. I was writing out the results to a FILE called "lcCursor" instead of to the memvar itself. It now works.

SET TEXTMERGE ON
SET TEXTMERGE TO MEMVAR lcCursor NOSHOW

>>No joy trying to use SET TEXTMERGE in a SCAN loop and output info/html to a memvar. When i display the value of the memvar at the end, nothing is shown. (there is data)
>>
>>
>>lcCusor = ""
>>SET TEXTMERGE ON TO MEMVAR lcCursor NOSHOW
>>\ html code output here
>>SCAN
>>\ html being output here
>>\ html being output here
>>\ html being output here
>>\ html being output here
>>ENDSCAN
>>\ html being output here
>>\ html being output here
>>SET TEXTMERGE OFF
>>?lcCursor
>>
>
>If you take out the SCAN..ENDSCAN loop and its contents entirely, do you get any value?
Previous
Reply
Map
View

Click here to load this message in the networking platform