Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select with a variable
Message
From
26/10/2000 19:25:38
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
 
To
26/10/2000 18:17:17
Gad Hutt
Express Print
Herzliya, Israel
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00434921
Message ID:
00434951
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform