[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Page 1 of xx -Reply
- Subject: Re: Page 1 of xx -Reply
- From: Jim Hardesty <jhardest@LMBERRY.COM>
- Date: Thu, 1 Oct 1998 11:05:35 -0400
Wow, good idea. But no, I don't think you are missing the easy answer because I
do not think there is one.
SQR reports are page based. A page is not physically written until it reaches the
line limit or because of a new-page command. Until that point, you can go up or
down in the page and write where ever you want on the page. But once the page
is written, it is written to the .lis file and as far as I know it is not possible to go
back a page in the report file. There is no old-page command.
One obvious way to do it is put some constant value in place of the total number
of pages, like '&&&&&&' and then replace that value in the .lis file at the end when
you know the final number of pages.
Is there some way within the sqr itself to "close" the .lis file so you could then
perform an "open" on it and treat it like a flat file and make the replacements? Or
would you have to write a seperate program or script that would be executed after
the sqr was complete to replace the value in the .lis file?
jim