Browse lookup

Kenneth Brody kenbrody at bestweb.net
Thu Dec 16 07:29:43 PST 2004


GCC Consulting wrote:
[...]
> However, the routine drops through and also shows lookup field no found on the
> line that reads
> 
>         if: @bk = "S" and foobar(40) = ""
>     then: in=foobar(1);ia=foobar(6) .........
[...]
> I think we need a way to more gracefully trap browse lookup errors.  Yes, we can
> do a lookup first to make sure that is at least one record matching the lookup
> criteria and if not display our own message or run some other routine.  However,
> in my can I received the standard browse error and then the drop routine
> executed, I think, causing the second error.

is there any reason you couldn't check for "not foobar" to see if the
lookup didn't get a record?

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody/at\spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+
Don't e-mail me at: <mailto:ThisIsASpamTrap at gmail.com>



More information about the Filepro-list mailing list