Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Demystification of the SCAN
Message
From
07/03/2001 11:46:21
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Demystification of the SCAN
Miscellaneous
Thread ID:
00482753
Message ID:
00482753
Views:
51
I have a mysterious situation. I would like to know what is wrong with it. This happens occasionnaly. For some kind of reason, the following code, sometimes, will skip the SCAN loop even if _TALLY>0.
SELECT MySQL... INTO CURSOR TEMP
IF _TALLY=0
   RETURN
ENDIF
SCAN
   This is my scan loop...
ENDCAN
Rest of code here...
So, I always assumed that _TALLY>0, then the following code should not be executed. Well, sometimes, the SCAN is skipped completely. What can cause that?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Next
Reply
Map
View

Click here to load this message in the networking platform