Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show cursor
Message
De
18/02/2005 15:11:51
 
 
À
18/02/2005 11:59:09
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Titre:
Divers
Thread ID:
00987714
Message ID:
00988460
Vues:
34
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform