Different PAGE HEADER in QUIZ part2

Latimer, Richard richard.latimer@airways.co.nz
Tue, 6 Jun 2000 10:31:33 +1200


We had a similar issue printing invoices although at the other end of the
page!. 

Each page has a footer that contains the running total of the charges, the
last page (for the customer / aircraft type combination) then has a grand
total. 
We get it to work with a footer statement that "overwrites" itself. See the
code fragment below - particularly the double statement at position 50 

	; Page footing has text in same position that changes for last     
	; page of sort run accroding to PRINT AT statement that follows    
	; Used to show final amount due being separate from the subtotals  
	; the report.                                                      
	                                                                   
	PAGE FOOTING    " "                                   SKIP 5 &     
	 tab  74   uline                                             &     
	 tab  87   uline                                             &     
	 tab 100   uline                                             &     
	 tab 120   uline                                      skip 2 &     
	 tab  50   "Page  Subtotals . . . "                          &     
	 TAB  50   "Totals for Services   "   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
& 



	hope this is the start of a solution . . .


	cheers
	Richard
	 
	                                                                   


























> -----Original Message-----
> From:	Jon Kvisli [SMTP:Jon.Kvisli@lokaldata.telemax.no]
> Sent:	Saturday, June 03, 2000 7:57 PM
> To:	PowerHouse List server
> Subject:	Different PAGE HEADER in QUIZ part2
> 
> Thanks to all of you who have kindly suggested using INITIAL HEADING!
> 
> Sadly this is not a solution to my problem, and I realize that i should   
> have been more clear about this point. (It also seems that some of my   
> original message have been left out by the listserver(?)).
> 
> My QUIZ report is used to print a large number of letters to customers.   
> Each letter consists of more than one page. I have the pages numbered and
> 
> reset the page counter to 1 AT CUSTOMER-NO. The first page of *each   
> letter* contains the customers name/adress and some other ionformation,   
> and is printed as HEADING AT CUSTOMER-NO. The following pages is a colum
> 
> based report of detail lines related to the customer, and is printed   
> using the REPORT statement. To have colum headings printed on all the   
> following pages (page 2 and forward), I need to print the headings using
> 
> PAGE HEADING. The problem is that this page header is also printed on the
> 
> first page (for each customer). This doesn't look very pretty since the   
> colums headings have no meaning on this page.
> 
> To clarify my problem, I have reformulated it like this (very   
> simplified):
> 
> ACCESS CUSTOMER LINK TO DETAILLINES
> 
> SORTED ON CUSTOMER-NO OF CUSTOMER RESET PAGE
> 
> DEFINE D-MY-PAGE-HEADING CHAR*80 = &
>   "" IF SYSPAGE = 1 ELSE & ; Will not work
>   <colums headings>


**********************************************************************
The information contained in this email message is intended only for the addressee.  If you are not the intended recipient you must not use, store, disclose, copy or distribute this message or the information in it.  If you have received this message in error please notify us immediately by reply email or by telephone +64-4-471-1888.

Any views expressed in this email are those of the individual sender and may not necessarily reflect the views of Airways Corporation of New Zealand.  

You must scan this email and any attached files for viruses.  Airways Corporation of New Zealand accepts no liability for any loss, damage or consequence, whether caused by our own negligence or not, resulting directly or indirectly from the use of any attached files.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
This list is closed, thus to post to the list, you must be a subscriber.