Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scan & Do While
Message
 
To
11/02/2001 21:41:55
Agnes Cheng
DynamicTech Consultants Ltd.
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00474863
Message ID:
00474878
Views:
19
Good question - you don't have to issue GO TOP. SCAN does an implicit GO TOP unless you use SCAN WHILE ... or SCAN REST.

One more common gotcha: the ENDSCAN does an implicit SELECT . So overall, the SCAN is roughly equivalent to:

GO TOP
DO WHILE NOT EOF()
    [enter loop commands here]
    SELECT [whatever the cursor was when the SCAN was issued]
ENDDO

zahid

>If I use 'scan' ..
>do I need to use' Go top in 'Table' ' ??
Previous
Reply
Map
View

Click here to load this message in the networking platform