>>>When I wrote
>>>report form xx.frx to file xx.txt ascii
>>>all is mixed up and unusable (very hard) for reading. This is especially a case when report is in landscape mode.
>>>What could it be?
>>
>>ASCII clause in report form command is suitable for very simple reports (not landscape), as others pointed out. I had a requirement to create reports, which need to be outputed to ASCII. I spent few days trying to make it work, but finally decided against it and created all reports by code. It's not hard, BTW. I have a simple maket program to convert Report to draft text of the program (this program still will be needed to adjust then), let me know, if you're interested to see it.
>
>Nadya,
>
>That's what I ended up doing: coding the entire report (with "?" / "??"). Being very repetitive work, especially the main loop (scan, break expression, page headers, etc.) I ended up writing a text-report class that duplicates most of the functionality of the VFP report writer (see download#
9991, if you are interested).
>
>Hilmar.
Thanks, I'll take a look. I used slightly different approach. I just created a string, then output string to file. I don't create page breaks, since it's ASCII file.
If it's not broken, fix it until it is.
My Blog