>>I forgot to mention in my last reply that the cursor changes with a private datasession only when run as a .exe program.
>
>Sounds like the original query is being fully optimised at run-time. Include the clause "NOFILTER" in the first query, or add a dummy field. That will force it to have disk presence.
You can also add a "WHERE .t." clause to the SELECT.