AndrewMozley
Programmer
An application creates a cursor for subsequent output to an Excel file with :
SELECT * FROM Table1 WHERE <condition> ;
INTO CURSOR Cursor2
I would then like to refine the table, recalculating certain fields in Cursor2.
However I cannot do this. When I try I get "Cannot update the cursor" because the cursor is Read-only; that is what this version of the SQL command produces.
I believe that I could get round this by sending the output INTO a table. I would however need to define a temporary name for this table and then delete it at the end.
Since I am lazy, is there a way that I can arrange for a cursor produced by the SELECT - SQL command to be updateable.
Thanks. Andrew M.
SELECT * FROM Table1 WHERE <condition> ;
INTO CURSOR Cursor2
I would then like to refine the table, recalculating certain fields in Cursor2.
However I cannot do this. When I try I get "Cannot update the cursor" because the cursor is Read-only; that is what this version of the SQL command produces.
I believe that I could get round this by sending the output INTO a table. I would however need to define a temporary name for this table and then delete it at the end.
Since I am lazy, is there a way that I can arrange for a cursor produced by the SELECT - SQL command to be updateable.
Thanks. Andrew M.