Browse lookup
John Esak
john at valar.com
Fri Dec 17 04:01:09 PST 2004
>
> > 97 ------- - - - - - - - - - - - -
> - - - -
> > â If: @sk="BRKY" or @bk = "X"
> > Then: GOTO is_exit
>
> This will check for breaking out or pressing 'X', but it doesn't check
> for the lookup having failed because there were no records. Simply add
> "or not pros". (Actually, in that case, the check for BRKY is redundant.)
>
> --
> +-------------------------+--------------------+------------------
> -----------+
> | Kenneth J. Brody | www.hvcomputer.com |
Just curious, why is the test for @BRKY redundant here?? I guess you are
saying that if there are no records found" then that will happen without
giving the chance for the user to press BREAK... but what of the case
Richard is talking about, where there first is/are a record/s and then
because they are deleted there are none... woldn't you need the test for
BREAK to cover all cases? He won't know if there are NO records ahead of
time... What am I missing about your comment? Are you saying he could take
the test for BREAK away entirely? This sounds like it would disaallow
dealing with the BREAK key.
John
More information about the Filepro-list
mailing list