[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: -F Flag question
- Subject: Re: -F Flag question
- From: Brian Nice <bnice@CCCI.ORG>
- Date: Tue, 5 Jan 1999 08:20:54 -0500
Try using the new-report command. If you issue this command before anything gets printed on the page, you can set what you want the output file to be.
let $file = $year || $month || $day || '.SUM'
new-report $file
As you switch between reports, I believe that you can just issue a new-report command for each one.
declare-report report1
...
declare report report2
...
use-report report1
new-report $file1
<print stuff here to report1>
use-report report2
new-report $file2
<print stuff here to report2>
Just make sure that the new-report command is used before anything is printed on any of the reports that you declare.
/********************
* Brian Nice
* Senior Programmer/Analyst
* Campus Crusade for Christ
* bnice@ccci.org
*********************************/
>>> Parijat Sahai <parijatsahai@HOTMAIL.COM> 01/04 6:25 PM >>>
In my case, platform is Win95, Database SQL Server 6.5.
I'm also interested in the solution to Kara's question. I have another
query though. Is there a way to specify the name of output report
(multiple reports, in fact) file during run-time, in the program itself?
I wish to name my reports like YYYYMMDD.SUM, YYYYMMDD.DTL depending on a
date calculated in the program itself.
TIA,
Parijat.
>
>January 4, 1999 5:15 PM
>Platform: UNIX AIX
>Database: Oracle
>
>Question: I know that I can override the name that SQR or the program
>assigns to a report file by specifying the -F flag, but what if the
report
>produces multiple outputs? Would I use multiple -F flags with the name
for
>each output file specified? If so, do I put them in sequential order?
>
>Thanks.
>
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com