Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does SCAN always go to the top of the cursor?
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Does SCAN always go to the top of the cursor?
Divers
Thread ID:
01658080
Message ID:
01658080
Vues:
73
Hi,

I was under impression that SCAN always goes to the top of the cursor. Am I mistaken?

I have a code where the record pointer of a cursor is on the 2nd record (the cursor has two records). Then, I call SCAN, update this record, and ENDSCAN. When I go through the code with the debugger, the SCAN/ENDSCAN exists right after the first/current/second record.

Is it required that I do GO TOP before SCAN?

TIA
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform