Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does SCAN always go to the top of the cursor?
Message
 
 
To
12/02/2018 18:37:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01658080
Message ID:
01658085
Views:
65
>>>Scan always starts from the top, unless you use Rest as scope.
>>
>>So, I understood it correctly. I will have to figure out why my SCAN does not start at the top.
>>Thank you.
>
>It also respects the current filter and set order.

This could be it; the set order. I will check it. Thank you.

UPDATE. You are right. The cursor has ORDER set to the field that the SCAN loop was updating. So, it was moving the record pointer to the end of the file.
Thank you.
"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
Previous
Reply
Map
View

Click here to load this message in the networking platform