QUIZ questions

Chris Sharman Chris.Sharman@ccagroup.co.uk
Wed, 9 Feb 2000 13:04:32 +0000


>How do I suppress the printing of a PAGE FOOTING on a control-break. The =
>page footing displays "Statement continues...." for the same doctor, but =
>shouldn't do so when going on to a different doctor.

No nice way.
You could do it with extra pass(es):
Put what was your final output away in a subfile, together with some line/page
number details. Record your final page numbers (the ones that don't want
"continues..."), and then do your output, using a defined item for the
"continues...".

This could be an enhancement request, I suppose: something like "CONTINUATION
UNTIL <control-break>".

Another approach entirely is the reset page clause on the "sort[ed] at"
statement, which would enable you to number each statement starting from 1;
and/or putting a "[THIS IS THE END]" footing, instead of a continuation page
footing.

>Also, is it possible to parameterize the number of copies printed by a =
>QUIZ report? The statement
>
>set report device printer copies 1

The only way would be to write the statement on the fly:

def copies int*2 = parm
set rep dev disc name howmany pag len 0 spac 1 nohead
rep tab 1 "set report device printer copies" copies
go
exec your-report nogo
use howmany.txt
go

Or do something similar with a shell script, if you prefer.

Chris
_______________________________________________________________________
Chris.Sharman@CCAgroup.co.uk		http://www.ccastat.demon.co.uk/
CCA Stationery Ltd, Eastway, Fulwood, Preston, Lancashire, PR2 9WS.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.