Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why SCAN does not EXIT?
Message
De
15/08/2002 00:06:20
Walter Meester
HoogkarspelPays-Bas
 
 
À
14/08/2002 23:21:51
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00689830
Message ID:
00689851
Vues:
19
From what I can see there is nothing wrong with this statement. There must be something other than this piece of code causing the endless loop.

Maybe you've got some corrupted index set on table1, Just try the following:
SELECT Table1
SCAN FOR OWE <> 0
ENDSCAN
does it end in an endless loop now ?
If it does, your index or table might be corrupted,

If it doesn't, something in TABLE2 (maybe a SET RELATION) might cause the record pointer in TABLE1 to reset again. Maybe you can ADD a SET STEP ON before the SCAN, Open the two tables in a browse window and step through the code. You might find the cause this way.

Walter,



>Nope... didn't work.
>Thx
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform