Re: reporting into different files with one report
Posted in 1995
> > Subject: reporting into different files with one report > > Date: Sat, 21 Jan 1995 14:53:38 +0100 > > Reply-To: Joerg_Spilker@daolin.fido.de (Joerg Spilker) > > Organization: Fido.DE domain gateway (IN e.V.) > > > > Hi, > > > > i need to report data into three different files simultaneously. The > > format is > > the same for all three files. I don't want to make three copies of the > > report > > which are opened with different file names. Any idea? > > > > I tried with the REPORT TO variable statement in the report itself and > > "variable" was a report parameter with the filename to report to. But > > all data > > goes into the file passed first to the report. Later changes in the > > parameter > > have no effect. > > > > Greetings, Joerg > > Guten Morgen, Joerg. > > I will assume you START REPORT rpt_name TO "report.file1". Then after > you FINISH REPORT rpt_name, you can do the following: > RUN "cp report.file1 report.file2" > RUN "cp report.file1 report.file3" Actually it's easier than that if I've understood your requirement correctly. Use START REPORT TO p_filename where p_filename is a program variable containing the name of the file. So you can change it and re-run the report as often as you want. akent@cix.compulink.co.uk (Andy Kent) -------------------------------------