Information générale
Catégorie:
Codage, syntaxe et commandes
>What I do always so to be sure that it works is the following:
>SELECT MyScanTable
>SCAN
> SELECT AnotherTable
> *-- Do something in another workarea.
> *
> *-- Just to be sure that scan will work properly:
> SELECT MyScanTable
>ENDSCAN
>
That SELECT at the end of the loop is unnecessary. VFP automatically reselects the SCAN work area before doing the skip and returning to the top of the loop.
Tamar
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement