>Does anyone have an easier way to get a list of tables in a DBC and the associated PK expressions for EACH table? I can obviously do looping through an array of tables with a DBGETPROP(), TAG(), KEY(), etc. I was hoping for a better way without having to USE each table. This will be for a VFP8 DBC. TIA!
OPEN DATABASE myDBC
ADBOBJECTS(arrTables,"TABLE")
FOR EACH cTable IN arrTables
? cTable,DBGETPROP(cTable,"TABLE","PRIMARYKEY")
ENDFOR
Cetin