Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan...EndScan still a problem?
Message
From
06/12/2001 12:53:06
 
 
To
05/12/2001 18:27:54
Stan Vaninger
Mitek Industries, Inc
Missouri, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00589532
Message ID:
00590659
Views:
33
>What I had in mind was a 2-level nested scan that involved 2 different tables. The example you have given involves just one table which apparently causes the skipping that you speak of.

Stan,
What I do always so to be sure that it works is the following:
SELECT MyScanTable
SCAN
SELECT AnotherTable
*-- Do something in another workarea.
*
*-- Just to be sure that scan will work properly:
SELECT MyScanTable
ENDSCAN

Recently, I do another type of scan preferably, as long as I do not need a SCAN FOR clause:
lnRecordsToScan = RECCOUNT("MyScanTable")
FOR lnNr = 1 TO lnRecordsToScan
GO lnNr IN MyScanTable
*-- Do whatever you like. It will alwyas go to the right record in the correct workarea.
ENDFOR
Christian Isberner
Software Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform