Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Replacement for USE/SELE table with IF...ELSE...ENDIF
Message
De
02/10/2007 13:59:18
 
 
À
02/10/2007 11:15:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01257862
Message ID:
01258015
Vues:
14
>Now I've just tried this one
>
>
Use schedule in select('schedule')
>
>with 2 tables open:
>
>If SCHEDULE is not open then it's opened and selected - fine.
>However, if the other table is selected, then SCHEDULE does not get selected, the other table stays selected.
>

Even worse, if Schedule is open, you close it and reopen it, thus moving the record pointer and wasting the time to close and open the table.

If you really want a one-liner, Jay, write a function and call it.

Tamar
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform