Query Map

Matt Greatorex

Registered User.
Local time
Today, 17:20
Joined
Jun 22, 2005
Messages
1,019
Is there an automatic way, within Access, to see all of the relationships between various queries?

I've inherited a db with no documentation and many interrelated queries.

I'm about to start 'mapping' it by hand, but was hoping to make my life easier.
 
While in the database window, in the main menu:

Tools => Relationships

IF that has been used...
 
Thanks for the response.
If only it were that simple. Unfortunately, no relationships have been declared in this way.
 
Try the below SQL. It will give the query name and all relationships in the query.

SELECT DISTINCTROW MSysObjects.Name, MSysQueries.Expression AS Relationship
FROM MSysObjects INNER JOIN MSysQueries ON MSysObjects.Id = MSysQueries.ObjectId
WHERE (((MSysQueries.Attribute)=7));
 
I think that's exactly what I'm looking for.:D

Thanks a bunch - you've saved me a lot of query-by-query manual checking.
 

Users who are viewing this thread

Back
Top Bottom