Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Selecting table in a variable
Message
De
07/07/2004 09:55:08
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
06/07/2004 12:10:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00915926
Message ID:
00921379
Vues:
21
>You have probably already received an answer that works for you, but I got this tip a while back and it comes in pretty handy when nothing else seems to work right. As long as the value of your variable is equal to the alias of the file you are trying to select...type the following
>
>select &ctable

Actually, a better version of the trick is

select select(ctable)

because it won't error out if the table is not in use. Select("AnyNameHere") is returning a zero if there's no cursor with the given alias, so then you're just selecting a new work area.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform