[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
SQR last-page problem
- Subject: SQR last-page problem
- From: Terry Cheung <Terry.Cheung@BMG.CO.UK>
- Date: Wed, 11 Nov 1998 12:57:06 +0100
Hi,
I am using SQR v4 for UNIX environment.
I need to print out a single document consists of two different report
layout. So I used 'use-report' to print the output onto the different
report layout. The problem is I need to have "page <current-page> of
<last-page>" on every page of this single document. With 'use-report'
it will resets the <current page> to whatever page the report is
currently on and it will also have two <last page> instead of one
What I need is one continous sequence of current page and last page
across two different report layouts because they afterall one document.
I could program my own logic to work out the current page, but what
about the last page?
SQR prints out the page on the fly and there is no way of delay printing
it or is there?
The current method I could think of is to insert a '@@' in each page
and then after the report is produced (I will have the last page value).
Using UNIX commands to search and replace the '@@' with the last page
value. But I feel it is not a neat way of doing it - does any experts
out there have any insight??
Please advise
Many thanks in advance
Terry Cheung - Bertelsmann mediaSystems
BMG Distribution, Unit 24 Crystal Drive, Warley, West Midlands, B66 1QG,
United Kingdom.
* terry.cheung@bmg.co.uk
* terry.cheung@bertelsmann.de
* Tel: +(44)-121-543-4276