Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show cursor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
West Wind Web Connection
Titre:
Divers
Thread ID:
00987714
Message ID:
00988477
Vues:
53
In addition to that realize that TEXTMERGE is actually doing a textmerge to disk, so it's pretty slow (well I'm nto sure if it goes to disk, but it is slow). While String concats are not as easy to code, they are a lot faster than TEXTMERGE. Doing TEXTMERGE in any sort of loop is probably not a good idea.

+++ Rick ---


>>As a rule, we strongly prefer the delayed merge strategy-- TEXT TO , followed by subsequent TEXTMERGE() -- 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.
>
>Really? Hmm...I'll have to look at this again. I really wanted to use TEXTMERGE for this stuff (instead of building the strings the "old" way; lcHTML = lcHTML + [String]), but I kept hitting the "recursive" error, and switched back.
>
>Good info...
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform