Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does SCAN always go to the top of the cursor?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Does SCAN always go to the top of the cursor?
Miscellaneous
Thread ID:
01658080
Message ID:
01658080
Views:
74
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
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Next
Reply
Map
View

Click here to load this message in the networking platform