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



Wahman, Ulrika wrote:
>
> 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

You could use a CALL SYSTEM USING command.  It will allow you to issue
Operating system commands from inside of the SQR program.  You will call
sqr one.sqr username/password (etc).