vba - Microsoft Access 2007 - How to Change Path to Database -
i have been asked make changes access database used local company. database on server , in access 2003 format (mdb). company using access 2007. previous programmer no longer available , there little documentation. now, copied database (delta.mdb) , back-end database (delta_be.mdb) computer @ home can work on it. when run database following error message appears: "//deltamain/orderprogram/delta_be.mdb" not valid path. went vba , searched references "delta_be.mdb" change path. not find references. question 1 - can tell me path back-end database stored? perhaps it's property of database? can't find anywhere. question 2- there way print list of names of objects in database. don't want analyze objects, print names.
thank you!
question 1 - can tell me path back-end database stored? perhaps it's property of database? can't find anywhere.
answer 1 : eexternal links or path stored in msysobjects system table in database.
below sql give linked table name , connect(link backend)
select msysobjects.name, msysobjects.connect msysobjects (((msysobjects.connect) not null)); question 2- there way print list of names of objects in database.
answer 2: below sql give user , system object on database.
select * msysobjects
Comments
Post a Comment