Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reccount()
Message
From
27/01/2010 10:29:06
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
 
To
27/01/2010 09:17:38
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01445855
Message ID:
01446158
Views:
34
>>Even with the for-next loop, you didn't need all the skip commands. You could have a "GO i" before the CASE, to the same effect - each iteration of the loop, you'd be on record i.
>
>bu-bu-but didnt i need the skip to jump to the next record?(which i suspect thats what scan does)
>Where does your I increment? the Next?

What i? :)

I'm using the recno() instead. And scan/endscan is an implicit go top - do while !eof() - skip - enddo loop (and it also restores the alias through which it's looping).

And generally, whenever you see a command in the responses here that you aren't exactly sure what it does, check it in help. Combination of examples and F1 help related to what you are doing will speed up your learning.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform