Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why SCAN does not EXIT?
Message
From
15/08/2002 00:06:20
Walter Meester
HoogkarspelNetherlands
 
 
To
14/08/2002 23:21:51
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00689830
Message ID:
00689851
Views:
20
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform