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

Re: Parameter in Declare-Report



Ulrika,

You would need to use ask instead of input as follows:

begin-setup
 ask reportname
 Declare-Report {reportname}
 ....
 End-Declare
end-setup

begin-report
 use-report {reportname}
end-report

John L. Kellogg
MITI Technical Support Manager


Ulrika Wahman wrote:
>
> Hi everyone!
>
> I have one simple (?) question:
> Is it possible to use a parameter, instead of an "ordinary name", in
> Declare-Report ?
> Here's what I want to do:
>
> begin-setup
>  Declare-Report $reportname
>  ....
>  End-Declare
> end-setup
>
> begin-report
>  input $reportname
>  use-report $reportname
> end-report
>
> Is this possible, or is there another way to call a report from another?
> I'm using ver 3.0.12.1 for Sybase.
>
> Happy holidays
> /Ulrika
>
>  --------------------------------------------------------------------------
>  ----------------------
> Ulrika Wahman               Direct:  +46 (0)19 - 30 85 62
>                                             E-mail:
>  ulrika.wahman@ore.ims.se
>
> IMS Peridot                        Tel:       +46 (0)19 - 30 85 00
> Stallgatan 2                          Fax:      +46 (0)19 - 30 85 01
>
>
> 702 26  ÖREBRO               WWW: http://www.ims.se