In VFP7 and later add READWRITE clause to SELECT, otherwise
select col1, col2 from table1 into crsTemp
USE crsTemp IN 0 AGAIN ALIAS mycursor
USE IN crsTemp
insert into mycursor (col1, col2) select col1, col2 from table2
>hi,
>
>how do i make a read right cursor, when the cursor is created by an SQL command ?
>
>select col1, col2 from table1 into mycursor
>insert into mycursor (col1, col2) select col1, col2 from table2
>
>Thank you ALL
>Jião
--sb--