>Hello all once again....
>
>I have a cursor with 3 records.
>I have:
>do while !eof()
> commands
>enddo
You forgot SKIP at the end. Actually, this sort of loop is simpler with SCAN:
SCAN
Commands
ENDSCAN
No GO TOP or SKIP required.
"Commands" should apply only to one single record, and not include an additional SKIP.
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)