Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SELECT table in a specified DBC
Message
 
 
To
05/02/2001 10:23:43
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00472459
Message ID:
00472485
Views:
39
>When you issue SELECT mytable, is there any way to specify the DBC? This would be important if you had 2 DBCs open and both DBCs had a table with the same name.
>I've tried SELECT "MyTable!MyDBC" but VFP does not accept this.
>Unless there is some way to do this, I could use the work area number to select the table I want.
>Thanks, Chaim

Chaim,

You can not have open two tables under the same alias in the same DS. You can use this command:
use MyDBC1!MyTable alias MyTableMyDBC1 in 0 (to distinguish)
use MyDBC2!MyTable alias MyTableMyDBC2 in 0 (to distinguish)
IOW, use different aliases to distinguish, otherwise you would have only one table open in one time.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform