Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gotcha :)
Message
De
31/03/2005 23:57:32
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01000085
Message ID:
01000518
Vues:
19
>Hi everybody,
>
>Spent ~ 10 minutes (or more) trying to figure out this simple thing.
>
>I have this in my code:
>
>select c_Profiles
>scan while empty(m.lcError)
>...
>
>
>Couple of lines of code above I did a SUM on this file (I guess, I better do a select sum(..) then). And therefore I was at the bottom of the file. I used to the fact that SCAN goes top automatically and haven't realised that WHILE scope changes it.
>
>Well, at least I figured this one out :)

And let's not forget the option I've almost never seen used... but may come handy:

Scan rest
...
endscan

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform