>Hi,
>
>>Print to file. Spool the print file to the printer. Save the print file somewhere.
>
>How to do the procedure you mention above? Because I donno how to get back my report after I REPORT FORM myreport TO FILE myfile.txt......
>
You'd have to write each occurance of the output to a different file name, and have some mechanism for identifying which file corresponds to what is wanted.
You can always send the output to a file with a long file name - like thesillyreportjohnwantedsundaythathadtheseparameters.txt, but now you have to have a way of letting the user figure out whether he's printed it before or not...
Windows is not smart enough not to overwrite the same file with another file if you tell it to do so, and it can't read your user's mind. It's your responsibility to save each report output to a distinct file, and once the file is generated, it's up to you to figure out how to find it!