Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Scan & Do While
Message
 
À
11/02/2001 21:41:55
Agnes Cheng
DynamicTech Consultants Ltd.
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00474863
Message ID:
00474878
Vues:
18
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' ' ??
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform