You're welcome
>You're right, I didn't need TEXT...ENDTEXT. STRTOFILE() works fine and I'm not sure why I went with TEXT...ENDTEXT. I guess TEXT...ENDTEXT is embedded in my brain since I've been generating a lot of HTML content lately.
>
>Thanks.
>
>>I'm not sure why do you need TEXT...ENDTEXT. Try
>>
>>\\<<m.lcFileContent>>
>>
>>
>>Or even simpler
>>
>>STRTOFILE(FILETOSTR(sometextfile), lcOutputFile, .T.)
>>
>>
--sb--