Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SCAN..ENDSCAN question
Message
 
 
À
12/01/2001 14:31:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00463165
Message ID:
00463170
Vues:
14
Hi!

Some commands in the SCAN command might cause your alias to move record pointer to the end. In such case need to remember record pointer at the start of its body and than restore it at the end of each loop step.

>Why does SCAN..ENDSCAN ends when I have a FOR…ENDFOR inside it?
>This is what I have:
>SCAN
>** read variables
>***COPY something to array
>*** FOR EACH
> *** do some SELECT statement
>*** ENDFOR
>ENDSCAN
>It does the first record and then exists the scan. Why does it do that?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform