If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Report that shows Query dependencies

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-12, 09:25
chuckcoleman chuckcoleman is offline
Registered User
 
Join Date: Jul 2010
Posts: 11
Report that shows Query dependencies

I have a database that reuses many queries in several different macro's. Does anyone know of a way to generate a report, (or purchase an add-in), that will show for each query any other queries that use it. It would be ideal to show all of the "cascading" queries that one query is built on. It just gets confusing when I need to tweak a query to then have to figure out there are other queries that use the one that's being tweaked and the tweak will change the results of the other queries. Any ideas?



Thanks,



Chuck
Reply With Quote
  #2 (permalink)  
Old 01-08-12, 09:42
dave0810471 dave0810471 is offline
Registered User
 
Join Date: Jan 2012
Posts: 87
Chuck,

If your running Access 2003 or later you can make use of the built in option for viewing object dependencies, this requires you to have turned on Name Auto-Correct. To do this simply select your object -> View -> Object Dependencies. However having this Name Auto-Correct feature turned on has reported to cause problems for Access to the extent that it is recommended you turn it off!

An alternative solution can be found at this link Documenting query dependencies in Access which involves creating tables then running code that collates dependency information writing it to a table.

Hope this helps,
Dave
Reply With Quote
  #3 (permalink)  
Old 01-08-12, 12:53
chuckcoleman chuckcoleman is offline
Registered User
 
Join Date: Jul 2010
Posts: 11
Thanks Dave. I'll review the link you provided and see if that helps. I appreciate your response.

Chuck
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On