>Hi,
>
>Thanks a lot. It managed to solve my problem.
>
>YT.
OK, great. BTW, there are several alternatives to prepare the text file:
@...say
? and ??
TEXTMERGE
Just prepare the variable in memory, for instance:MyReport = ""
scan
MyReport = MyReport + Field1 + space(5) + Field2 + chr(13) + chr(10)
endscan
For the first two alternatives, you can later load to a variable with FileToStr().
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)