QUIZ: COUNT report-item and SUBFILES

Pickering, John (NORBORD) PICKERIJ@norbord.com
Thu, 14 Jun 2001 16:19:24 -0400


> Quiz doesn't put COUNT in subfiles -- syntax-wise it's a "function" not an
> "item".
> 
> Try the following:
> 
> >define kount int*5 = 1
> 
> >report kount subtotal
> 
> Regards,
> JWP
> 
> -----Original Message-----
> From:	bdawson@nmstc.ca [SMTP:bdawson@nmstc.ca]
> Sent:	Thursday, June 14, 2001 2:36 PM
> To:	powerh-l@lists.swau.edu
> Subject:	QUIZ: COUNT report-item and SUBFILES
> 
> Hi everyone,
> 
> A questions for the list that may also fit into the "EASY" category: Why
> is
> the "count" report-item excluded when reporting to a subfile in QUIZ.
> 
> I have the following simple report statement:
> 
> REPORT CAT-NO REPORT-DATE REPORT-BY COUNT
> 
> To the screen or printer, there is no problem -- I see all four columns,
> and my counter fuctions as I want.  But when I set a subfile...
> 
> SET SUBFILE NAME MYREPORTLIST
> 
> ...then the subfile only includes the first three columns.  Why does this
> happen? Any suggestions on how to write COUNT to the subfile (or how to
> produce an equivalent end result)?
> 
> Thanks,
> BRIAN.
>