Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select with a variable
Message
De
26/10/2000 19:25:38
Cindy Winegarden
Duke University Medical Center
Durham, Caroline du Nord, États-Unis
 
 
À
26/10/2000 18:17:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00434921
Message ID:
00434951
Vues:
14
Gadi,

Gadi,

This one worked for me:
USE ___ ALIAS MyTable
CREATE CURSOR Dummy (MyField C(20))
INSERT INTO Dummy VALUES ("MyTable")
SELECT((ALLTRIM(Dummy.MyField)))  && Selects MyTable
>Hi I'm trying to select an open table.
>The name of the table is stored in a field in another table, so I need to get the value out of the field for the SELECT command. I use the EVALUATE command, but I get an error "Alias 'xxx' is not found". The syntax is:
>SELECT evaluate('xxx')
>
>Any ideas?
>
>Many thanks,
>
>Gadi Hutt
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform