Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan...EndScan
Message
De
31/10/1998 08:12:11
 
 
À
31/10/1998 03:57:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00153139
Message ID:
00153146
Vues:
20
SCAN scope is suposed to be ALL by default, but maybe ALL forces going top before start scanning and maybe scan without all doesn't work if you are at EOF(). (like replace, wich does not do anything if eof() on current table).

Well, I always GO TOP before SCAN and always SELECT ScanningTable before ENDSCAN.

>Just queer, but on the same event, the first doesn't work, but putting ALL makes all the difference. Any idea?
>
>
>#1 :-
>
>llErr = .F.
>SCAN WHILE !llErr
> * Commands
>ENDSCAN
>
>
>#2 :-
>
>llErr = .F.
>SCAN ALL WHILE !llErr
> * Commands
>ENDSCAN
There´s a better life... Just it´s more expensive!
Cristóbal Manrique M.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform