[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index] [Date Index] [Thread Index]
[SQR-USERS Info] [SQRUG Home Page]

Re: How do you give a multiple report SQR specific file names



Hi Robert (et al)

I just completed a multiple report SQR - I found I needed to call New-Report
*before* calling Use-Report in order to get it to work.  Odd...

Also, as regards the original post in Landre's _SQR In PeopleSoft_, page
196, it is mentioned you can use multiple -F flags to specify the files to
write to.

Have a good day!
Anne-Marie

-- - -- - -- - -- - -- - -- - -- - -- - -
Anne-Marie Matula
Student Information System Project
Office of Information Technologies
University of Massachusetts
740 N. Pleasant St
OIT-LGRC A247
Amherst, MA  01003-9306
Phone: 413/577-0685
Fax: 413/545-2150



> Date:    Mon, 18 Jun 2001 14:02:31 -0700
> From:    Robert Stojkovic <robert.stojkovic@IO-CONSULTING.COM>
> Subject: Re: How do you give a multiple report SQR specific file names
>          (not sqrname99.lis)?
>
> I believe you are missing something. We have several sqrs that create
> multiple reports
>
> Check the following.
> 1. Declared multiple reports
>         DECALARE-REPORT REPORT_AR
>         LAYOUT = REPORTLAYOUT
>         PRINTERTYPE = {PRINTER_TYPE
>       END-DECLARE
>
>         DECALARE-REPORT REPORT_PP
>         LAYOUT = REPORTLAYOUT
>         PRINTERTYPE = {PRINTER_TYPE
>       END-DECLARE
>
> 2. Create new file name for each report
>         ex. let $filename = $fileprefix || $reportid || '_AR' || '_' ||
> $prcs_instance || 'lis'
>             USE-REPORT REPORT_AR
>           NEW-REPORT $FILENAME
>
>             let $filename = $fileprefix || $reportid || '_PP' || '_' ||
> $prcs_instance || 'lis'
>             USE-REPORT REPORT_PP
>           NEW-REPORT $FILENAME
>
> Every time you need to print a specific report used the
> USE-REPORT function
> first.
>
> Robert Stojkovic
> robert.stojkovic@io-consulting .com
> visit our website www.io-consulting.com <http://www.io-consulting.com>
> 661 803 3178