Choosing blank fields in Quiz (7.29C
pickerij@norbord.com
pickerij@norbord.com
Tue, 22 Dec 1998 19:20:01 -0500
>I have a program that I wrote that the company has been using without
any
>complaints for two and a half years. One of the first statements is to
>"CHOOSE"
>all the items in a subfile that have the field "FEDR" blank. I wrote
the
>statement as follows:
>
>CHOOSE FEDR ""
<snip>
>So do you think this *never* worked right and my users (and me) are
>spectacularly unobservant? Or could something in my environment have
changed
>and changed how my Quiz statement worked?
Could be that it never selected other than the whole file. Are there
select statements to further refine the results which might lead you to
believe it was working?
CHOOSE key "" ; that's quote quote with no space
will choose the whole file. Sort of like saying choose key parm and then
entering nothing in response except in this case Quiz will ask you if you
want the whole thing. Certainly works this way in 8.19 and I'm pretty
sure it did in ealier versions.
Try CHOOSE key " " ; that's quote space quote
and you should get just the records with the blank key.
Regards,
John Pickering
JWP Systems Inc
Toronto
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.