Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Next and Previous
Message
De
08/10/2000 12:27:13
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00426536
Message ID:
00426619
Vues:
24
> scanning, I didn't want to be jumping around for fear of confusing VFP. Do you think I'm safe in doing this:
>

>SELECT myTable
>SCAN
> SKIP -1
> lcPrev = mytable.field
> SKIP 2


Yes, it works. SCAN just issues a SKIP when it hits ENDSCAN, and has no memory of where it was before. IOW, you can cause an infinite loop with:

SCAN
SKIP -1
ENDSCAN
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform