A PARM value when no records are selected
Darren Reely
darren.reely@latticesemi.com
Fri, 28 Jun 2002 09:59:24 -0700
Leonard,
We use screens to allow users to enter parameters and run reports. In
many reports (the Quiz code) we prompt a second time on a defined item
to use it for heading information. In our submission screen we create a
command file and a quiz input file. The input file has all of the
parameters and we repeat the few we need for the defined items. The
defined items can be used for the NOREPORT heading when needed, to
display the selection values.
I've been known to use the initial subfile method here also, but tend to
stay with what the previous coders have done. One reason I've used the
subfile method is for times when many passes follow the initial request
and require the same initial parameters. I find it easier to maintain
the code in this case.
Darren
Leonard_Berkowitz@harvardpilgrim.org wrote:
>HP3000, PowerHouse 8.19C
>
>I need to have QUIZ write out the value of a PARM in the PAGE HEADING of a
>report even if no records are selected. Here is the scenario:
>
>Pass one reads the dataset and extracts all entries that match the PARM
>that the user has entered. The value of the PARM as well as the relevant
>fields from the selected entries are written to a subfile.
>
>Pass two reads the subfile and since the subfile is empty, the NOREPORT
>statement becomes operative, but the value of the PARM does not show in the
>PAGE HEADING.
>
>Is there a way to accomplish this?
>
>Thanks.
>--
>Leonard S. Berkowitz
>Perot Health Care Systems
>(Harvard Pilgrim Health Care account)
>voice: 617-509-1212
>fax: 617-509-1955
>pager: 781-226-2431
>
>
>= = = = = = = = = = = = = = = = = = = = = = = = = = = =
>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.
>