QUIZ Heading?
Hans Hendriks
hans@robelle.com
Fri, 9 Apr 1999 08:34:37 -0700
Mark Stewart asks:
> Does anyone know of an easy way show a fixed display of
> parameters entered
> into a CHOOSE across the top of a QUIZ report heading in a row
> separated by
> commas. Looking for PowerHouse solution only (no OS outside influence).
...and later:
> I should have clarified. Let say the CHOOSE is unlimited
> and 10 values were entered for parm 1. How could you capture
> those 10 values and display them in a row separated by commas.
Good question! :-)
How's this for an ugly Kludge:
1) Pass 1, Quiz:
- Access DATA-SOURCE
- Prompt user for CHOOSE parms
- Retrieve the data records, and write only the key ("chosen") values
("KEYVALUE") to SUBFILE1
2) Pass 2, QTP
- Access SUBFILE1
- declare a large CHARACTER temporary NORESET
- Append COMMA (conditionally) + KEYVALUE to the temporary for every record
read.
- Create SUBFILE2 "at final" with just the temporary field
3) Pass 3, Quiz
- Access SUBFILE1 link KEYVALUE to DATA-SOURCE link to record (0) of
SUBFILE2
- Initial heading .....
... I warned you it was ugly ... :-)
/Hans
+------------------------------------------
| Hans Hendriks Robelle Consulting Ltd
| mailto:hans@robelle.com (888) 762-3553
| http://www.robelle.com/~hans
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.