>>I do the same all the time, but I always start with a blank cursor. What happens if you do the same?
>
>Hi Tore,
> I tried your suggestion, I wrote CREATE CURSOR ... just prior to the SQL SELECT statement but again I received the same error.
>
> I wonder if it has to do with the fact that the cursor I created is based on another cursor which is also the result of an SQL-Select.
>
>Best regards, Chaim
Are you sure that the second select statement actually selects any records at all? If you try
Select ... into cursor somecursor readwrite
Select 0
Select dbf('somecursor')
Browse