Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Next and Previous
Message
From
08/10/2000 12:27:13
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00426536
Message ID:
00426619
Views:
26
> scanning, I didn't want to be jumping around for fear of confusing VFP. Do you think I'm safe in doing this:
>

>SELECT myTable
>SCAN
> SKIP -1
> lcPrev = mytable.field
> SKIP 2


Yes, it works. SCAN just issues a SKIP when it hits ENDSCAN, and has no memory of where it was before. IOW, you can cause an infinite loop with:

SCAN
SKIP -1
ENDSCAN
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform