>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