Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
How to Tell Which DBC a Table Is In
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement