Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to Tell Which DBC a Table Is In
Message
 
 
À
19/10/2001 17:05:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00571160
Message ID:
00571163
Vues:
41
This message has been marked as the solution to the initial question of the thread.
>My application supports multiple DBCs and each DBC can have a table with the same name as a table in another DBC.
> Is there anyway to know which DBC a given table is in? For example, MyTable is open and MyTable exists in MyDBC1 and MyDBC2. I would like to know which DBC this table belongs to.
> INDBC() does not work for this purpose.
> I assume that VFP does have this information, because when you look in the DataSession Debug window, the correct database name appears in the bottom left. So I am hoping there is some way to grab this information.
> Thanks, Chaim

Check:
cursorgetprop("DATABASE",m.tcAlias)
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