Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show cursor
Message
From
18/02/2005 15:11:51
 
 
To
18/02/2005 11:59:09
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Title:
Miscellaneous
Thread ID:
00987714
Message ID:
00988460
Views:
35
Randy,

>Thanks, David. Lauren and I have contemplated an article on usage patterns for TEXT TO, but we've both been too darn busy to commit to it.

Hey, I've got some room, in case you want to put something together over the weekend. *gd&r*** Seriously, though, it sounds like a great article idea.

>As a rule, we strongly prefer the delayed merge strategy-- TEXT TO < var >, followed by subsequent TEXTMERGE(< var >) -- over the use of the TEXTMERGE clause. First, it can avoid the dread "textmerge is recursive" error, which is easy to trigger in a framework or application that does lots of text processing, such as in web applications. Second, it lets you build the string separately from when the merging occurs, and possibly in a different component. This even means the data source need not be open/selected/etc. when the string is built.

Good points all. I ran into the recursive just recently. Controlling the timing of the various merges that might make up a web page certainly allows more flexibility.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform