Adam,
I'm afraid to say there's a
much higher probability that the bug is in your code, not VFP.
My first guess would be an environmental difference between your dev environment and your runtime environment. The SET enviornment is different, your directories are different. You are going to have to spend some time debugging this one.
>When I run a SELECT using Foxpro 6 SP5 in the command window it return the right records in a cursor.
>
>If I compile it into and EXE it doesn't return anything?
>
>Is there a known bug about this?