Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL works when table not in the DE
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00988904
Message ID:
00988911
Views:
23
>Just out of curiosity this. I have a form that refers to a table that is neither opened via code nor included in the DE. An SQL select accesses this table and it works OK. Now I know that you don't have to USE ... Select etc a table before it appears in an SQL select generally, but I would have thought the form would need to know exactly where/which table.

In case when table is not open before a query, FoxPro will look for it in the current directory and than along VFP search path (SET("PATH")). The first one found will be open otherwise you'll get Open Table dialog.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform