Tha its going to be more strange. If You Change function to:
FUNCTION FiltFuncBad1
local llOk
llOk = .f.
return lookup( cursor1.isokay, 'h', cursor1.thetext, 'thetext' )
Everything is OK.
???????
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.