[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Dynamic rename of multi reports at run time
It works for me. I can declare-report for 3 different reports...
begin-setup
declare-report rep1
end-declare
declare-report rep2
end-declare
declare-report rep3
end-declare
end-setup
and before I print, change each of the names using new-report like ...
use-report rep1
new-report 'test_fnew1.lrpt'
... print stuff ...
then switch between them using ...
use-report rep1
... print stuff ...
use-report rep3
... print stuff ...
use-report rep2
... print stuff ...
use-report rep3
... print stuff ...
HTH,
Don Mellen
On Tue, 6 Oct 1998, Setzer, Jerome (SOM400A) wrote:
> Hi Folks,
> I would like to rename two reports from one SQR pgm at run time,
> using the current date and a db field as the title. I don't want the
> standard program.lis or spf file names. The NEW_REPORT function won't work
> on two reports in the same pgm. Any suggestions?
>
> Thanks,
> Jerry Setzer
> Defined Contribution Systems
> Merrill Lynch
> 732-764-7729
>
-----------------------------------------------------------------------
Donald Mellen | Ray Ontko & Co. - Richmond, IN - http://www.ontko.com/
donm@ontko.com | "In the beginning, there was nothing, which exploded"