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 12:39:11
 
 
À
02/10/2007 12:30:49
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
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:
01257968
Vues:
16
>>Still, has anyone found a one-liner yet that actually works? Was my appraisal of the accepted solution wrong?
>
>It's a two-liner, and IMO it always was so, if not longer: one to open the table, one to select it. This shortie only has the implied check on "is it already open".

I refer to the one-liner:
Use schedule in select('schedule')
(I have the feeling I've seen your promulgating this technique in the past - or it was something very similar)

and my saying:

"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."
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform