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

Re: Additional info to "Run multiple reports"



Maybe instead of calling it inside the SQR program, can you not use
script file/shell program to call it? Or call a system command which will
run the SQR.

begin-report
        input $param1
        input $param2
        let $system_command =                   ! build the system command here
                                                                   ! which can include  $param1 and
                                                                   ! $param2

        call system using $system_command  $ret_status
end-report


marlon ;)
----------------------------------------------------------
Hi again !

(Thank you Brent for your fast reply)
I get the feeling I didn't make myself clear in my last mail "Run
multiple reports", so I'll try again:

I have two reports: one.sqt and two.sqt (compiled from one.sqr and
two.sqr). They are two ordinary reports with different headings,
footings and contents. From the report three.sqt, I want to run the
others.

So here it is, one more time:

begin-report
        input $param1
        input $param2
        run report "c:\...one.sqt($param1,$param2)"
        runt report "c:\...two.sqt($param2)"
end-report

/Ulrika