[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Placing reports in a directory from within sqr code ...
- Subject: Re: Placing reports in a directory from within sqr code ...
- From: Ray Ontko <rayo@ontko.com>
- Date: Mon, 10 Feb 1997 09:52:20 -0500
- In-Reply-To: <0031600005182676000002*@MHS> from "Allen Wong" at Feb 9, 97 05:31:54 pm
> How can I place reports in directories from within sqr code, I have a
> table with a field specifying where the directory location is and I
> would like to grab the column with the specified output path and place
> the reports in the directory.
>
> For example I have
>
> report_location table
>
> id path
> --- ----
> 1 $OUTPUT
> 2 $OUTPUT2
>
> I would like sqr to do something like this ..
>
> NEW-REPORT &PATH/$REPORT_NAME
>
>
> Is this possible ?
>
> Any help is appreciated ...
>
> Thanks,
> allen
Allen,
Try something like this:
let $outfile = &path || '/' || $report_name
new-report $outfile
Ray
----------------------------------------------------------------------
Ray Ontko | Ray Ontko & Co | "Time for a new signature line."
rayo@ontko.com | Richmond, In | See us at http://www.ontko.com/