Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why SCAN does not EXIT?
Message
From
20/08/2002 07:30:15
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00689830
Message ID:
00691382
Views:
17
>The code you provided works fine, however the words EOF() and GO TOP are redundant. Most common error for scans not terminating is when you get to endscan, another table is selected so make sure the table you want scanned is selected before you hit the line including 'ENDSCAN'.

I don't agree here. While I used to believe this too, I saw that (at least in VFP 6, which I currently use), ENDSCAN automatically goes back to the original table. It does not, however, go back to the previous record - this may be the problem here.

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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform