Page Numbering
Latimer, Richard
richard.latimer@airways.co.nz
Thu, 19 Sep 2002 09:13:35 +1200
Hi Jeff,
I'm with Murray on this - add reset page in your sort statement and just use
"syspage"
I have included an example from our system below because:
- page reset is not at the lowest sort level
- the interesting trick in the footer so we can have the caption and the
invoice total appearing only on the last page but running subtotals on each
page.
cheers
Richard
SORT ON idy_adarr ON nam_alpha ON idy_acfttype reset page &
ON mov_date ON tme
PAGE HEADING " " skip 7 &
tab 45 ttitle SKIP 2 &
tab 80 "Page - "syspage skip 1 &
< snip >
PAGE FOOTING " " SKIP 5 &
< snip >
tab 50 "Page Subtotals . . . " &
TAB 50 "Totals for Services " Print at idy_acfttype &
tab 57 "Page sub total ...see final page for amount due" &
tab 57 " *** *** INVOICE Amount - TOTAL NZ$ " &
print at idy_acfttype &
tab 74 AMT_RFIRE SUBTOTAL reset at idy_acfttype BWZ &
tab 87 AMT_APTMOV SUBTOTAL reset at idy_acfttype BWZ &
tab 100 AMT_PASSERV SUBTOTAL reset at idy_acfttype BWZ &
tab 120 total SUBTOTAL reset at idy_acfttype BWZ Skip 1 &
< snip >
-----Original Message-----
From: Jeff Hoffman [mailto:wonicon@optushome.com.au]
Sent: Wednesday, 18 September 2002 9:52 a.m.
To: powerh-l@lists.swau.edu
Subject: Page Numbering
G'Day
I have a problem, I have an invoice that can run to 2 pages, and would like
to put a page number (1 or 2) at the bottom of each page.
Something like:
Page footing tab 50 "Page " syspage reset at studno
would be great, but soething tells me this is not an option.
I would normally put each line of the page(s) into a subfile and number
them etc, however I would like to use "set noblanks" on some of the data
lines, also the invoice uses laser printer fonts extensively so that the
space used for each line is not the same.
Any suggestions.
Thanks
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
+
+ Jeff Hoffman + e-mail: wonicon@optushome.com.au
+
+ Director +
+
+ WoniCon Pty Ltd (ABN 93 083 502 630)+ ,-_|\
+
+ 21 Prices Circuit + voice: +61 2 9542 1527 / \
+
+ Woronora NSW 2232 + \_,-._*
+
+ AUSTRALIA + mobile: 040 790 3929 v
+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
+
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l@lists.swau.edu
Subscribe: "subscribe" in message body to powerh-l-request@lists.swau.edu
Unsubscribe: "unsubscribe" in message body to
powerh-l-request@lists.swau.edu
http://lists.swau.edu/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
**********************************************************************
This electronic message together with any attachments is confidential. If
you receive it in error: (i) you must not use, disclose, copy or retain
it; (ii) please contact the sender immediately by reply email and then
delete the emails. Views expressed in this email may not be those of the
Airways Corporation of New Zealand Limited
**********************************************************************