Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why SCAN does not EXIT?
Message
De
14/08/2002 22:19:46
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Why SCAN does not EXIT?
Divers
Thread ID:
00689830
Message ID:
00689830
Vues:
58
Hi all.
I have a few lines of code like this:
SELECT TABLE1
GO TOP
xCOUNT=0
SCAN FOR OWE <> 0
STORE idSTD TO xidSTD
SELECT TABLE2
LOCATE FOR idSTD=xidSTD
REPLACE OWE WITH TABLE1.OWE
xCOUNT=xCOUNT+1
LOOP
EXIT
ENDSCAN

Problem is it keeps going into an endless loop, without exiting when the last match is found. What am I missing?

TIA
Ulises
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform