Add NOFILTER clause to your select so VFP wouldn't create filtered cursor..
>Hello. I have some code for an internet app which was working fine. After intoducing strong typing (may or may not be relevant), I am getting an error “MYCODES must be created with SELECT … INTO TABLE” (error 1815). The troublesome code is listed here:
>
>HIDDEN FUNCTION extractbygenus(lcSearch AS String) AS Integer
>etc...
>SELECT spnumber FROM species into CURSOR mycodes WHERE gecode = gecodex
>etc...
>ENDFUNC
>
>Any clues here! Many thanks, Denis
--sb--