[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 ...



>      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/