Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why SCAN does not EXIT?
Message
De
14/08/2002 22:48:51
Walter Meester
HoogkarspelPays-Bas
 
 
À
14/08/2002 22:19:46
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00689830
Message ID:
00689837
Vues:
31
How about,
SELECT TABLE1
xCOUNT=0

SCAN FOR OWE <> 0
     STORE idSTD  TO xidSTD
     SELECT TABLE2
     LOCATE FOR idSTD=TABLE1.idSTD
     REPLACE OWE WITH TABLE1.OWE
     xCOUNT=xCOUNT+1
ENDSCAN
Walter,

>Problem is it keeps going into an endless loop, without exiting when the last match is found. What am I missing?
>
>TIA
>Ulises
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform