is the database split?
for the front end you can use currentdb.name to give the full path - remove the name to give you the path.
if the backend, inspect the tabledefs for a link table to find the path to the backend - think it is currentdb.tabledefs("nameofalinkedtable").connect