>how can i put the cursor R/W?
In VFP 7, there is a clause in SELECT - SQL, to explicitly make the cursor R/W.
In VFP 6, it isn't very complicated either.
select ... into cursor Temp nofilter
select 0
use dbf("temp") again
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)