Hi Leo,
that looks simple and fast to me.
Hank
>Hi Hank,
>
>Thanks for your reply.
>Your suggestion brings me to the old problem that VFP have to increase the size of VAR everytime.
>That's why it is slow.
>I used this code from your idea:
>(or can I implement this smarter)
>
>lnSec = Seconds()
>Do While !.Eof
> Text To lcXml Additive TextMerge NoShow
> <<.Fields(0).Value>>
> EndText
> .MoveNext()
>EndDo
>?'String: ', Seconds() - lnSec
>
>
>
>Leo
>>Hi Leo,
>>
>>good idea. To get away from writing a file, you could use
>>
>>
>>TEXT TO <VAR> TEXTMERGE SHOW
>>** scan loop; use << >> textmerge to create entries
>>ENDTEXT
>>
>>
>>Hank
>>