>>The 7's Set Text to Memvar will be the ticket, of course, building the text in the variable using textmerge, and then dumping it into a file, message, webpage... mmmm :)
>
>You mean VFP7's TEXT TO lcString? Why create it as a variable and then dump to a file? Thats a slow step if the string is big. In any case, have you played with teh TexctMerge() function? I like that one a lot.
Thanks for pointing that one out. Seems like a nice candy - I remember I had to juggle a lot when I was writing the contract generator (user-inserted fields in a template stored into a memo, where fields were picked from a list), and I had to do the beast twice, just because I had to insert my own carriage returns in order to print it nice on a dot-matrix. A sweetie like this would have saved me a lot of coding.
As for the size of the file/string, again it depends on what you're doing, and on your own benchmarking. If you keep it in a string, you can still manipulate it using strtran() and other stuff(), which may be handy in some cases. If you're building a big one sequentially (i.e. never touching the part you already created), textmerge. As usual, the unbeatable answer "it depends" :)