I have a problem with displaying the source table for a linked table in Access 2000 without using DAO. In Access 97 this works (using DAO)
Set dbs = CurrentDb
Set tdf = dbs.TableDefs("PPList"
MsgBox "PPList is linked to " + (tdf.SourceTableName) + Chr(10) + "in" + Chr(10) + Mid((tdf.Connect), 11)
but I need to do it using objects that are automatically referenced in Access 2k modules (Access 9 Object Library and ADO).
Or is there an easy way to make a reference to DAO load when a database is opened?
Thanks
Set dbs = CurrentDb
Set tdf = dbs.TableDefs("PPList"
MsgBox "PPList is linked to " + (tdf.SourceTableName) + Chr(10) + "in" + Chr(10) + Mid((tdf.Connect), 11)
but I need to do it using objects that are automatically referenced in Access 2k modules (Access 9 Object Library and ADO).
Or is there an easy way to make a reference to DAO load when a database is opened?
Thanks