Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SELECT table in a specified DBC
Message
 
 
À
05/02/2001 10:23:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00472459
Message ID:
00472485
Vues:
33
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform