Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select table name from Combo
Message
From
23/06/2005 03:25:44
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Select table name from Combo
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01025722
Message ID:
01025722
Views:
66
Dear Experts

I have a combobox that holds following values

620
621
622
623
624

and tables with above names are in Data Environment like
620.dbf and 621.dbf etc.

On the click event of command1, I have following codes
db1=alltrim(thisform.combo2.value)

select *;
from &db1;
where phone=thisform.text1.value;
into cursor abc
But when I run this command then it shows this error message
File ‘620.dbf’ does not exists
Please modify my query
Next
Reply
Map
View

Click here to load this message in the networking platform