Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show cursor
Message
General information
Forum:
Visual FoxPro
Category:
West Wind Web Connection
Title:
Miscellaneous
Thread ID:
00987714
Message ID:
00988477
Views:
51
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform