>Hi,
>
>I was under impression that SCAN always goes to the top of the cursor. Am I mistaken?
>
>I have a code where the record pointer of a cursor is on the 2nd record (the cursor has two records). Then, I call SCAN, update this record, and ENDSCAN. When I go through the code with the debugger, the SCAN/ENDSCAN exists right after the first/current/second record.
>
>Is it required that I do GO TOP before SCAN?
>
>TIA
seek "mykey"
scan rest while myfield="mykey"
endscan
or use "locate" intead of "seek"
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20