Hi Dan,
You can use a query to return this information:
To reveal all linked paths:
SELECT Left(Database,255) AS [Linked Databases],
Count(MsysObjects.Database) AS [Number of Tables]
FROM MsysObjects
WHERE (MsysObjects.Type)<>9
GROUP BY Left(Database,255)
HAVING Left(Database,255) Is Not Null;
If you want to see each table name, use this instead:
SELECT Left(Database,255) AS [Linked Databases], Name, ForeignName
FROM MsysObjects
WHERE (((MsysObjects.Type)<>9))
GROUP BY Left(Database,255), Name, ForeignName
HAVING (((Left([Database],255)) Is Not Null))
ORDER BY Name, ForeignName;
Notes:
Make sure to compact the database first, to avoid revealing table links that
have already been deleted.
Grouping on the first 255 characters is required for Access 97, but not
later versions, since [Database] is a memo data type. (Contributed by Doug
Steele).
The criteria, WHERE (MsysObjects.Type)<>9, is used to filter out any table
constraints created with ADO. (Contributed by Dirk Goldgar).
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________
I've inherited an Access database. Some of its tables are linked to
some other Access database. How can I tell what database these tables
are linked to?
Access 2000
Windows 2000
Dan Williams
danwPlanet