Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / January 2008

Tip: Looking for answers? Try searching our database.

Finding all queries that use a particular table

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mbh - 10 Jan 2008 15:23 GMT
Hi--I have a table that is used in hundreds of queries in my database.  When
I run documenter for the table, I don't see these relationships.  How can I
identify where this table is used in multiple queries?

Thanks
Pat Hartman - 10 Jan 2008 15:42 GMT
If you are running A2003, you can right click on the table and choose the
Object Dependencies item.  This feature needs to turn on the Name Auto
Correct feature to work but you can turn off Name Auto Correct again when
you are done.

> Hi--I have a table that is used in hundreds of queries in my database.
> When
[quoted text clipped - 3 lines]
>
> Thanks
mbh - 10 Jan 2008 17:39 GMT
When I right click on the table from the Database window, I do not get an
option for Object Dependencies.  Any suggestions?
AG - 10 Jan 2008 15:47 GMT
http://www.rickworld.com/products.html

Signature

AG
Email: discussATadhdataDOTcom

> Hi--I have a table that is used in hundreds of queries in my database.
> When
[quoted text clipped - 3 lines]
>
> Thanks
Dale Fye - 10 Jan 2008 17:00 GMT
I've been using Speed Ferret for about 5 years.  Although they still don't
have a version that works exclusively with Office 2003, if you have Office
2000 or XP, you can uninstall 2003, install the earlier version, and then do
a "custom" reinstall of 2003, overwriting everything but the earlier version
of Access.  This will give you Access 2003 and the ability to use Speed
Ferret.  They indicate that they are working on a new version, but have been
saying that for 3 years.

It is an Search and Replace tool for Access and SQL Server that works great.
If you have hundreds of queries, and need to make changes to a field name,
table name, or some other object in your database.  This will pay for itself
the first time you use it.

Dale
Signature

Don''t forget to rate the post if it was helpful!

email address is invalid
Please reply to newsgroup only.

> Hi--I have a table that is used in hundreds of queries in my database.  When
> I run documenter for the table, I don't see these relationships.  How can I
> identify where this table is used in multiple queries?
>
> Thanks
Larry Daugherty - 10 Jan 2008 17:47 GMT
There are a couple of tools that handle this nicely:

Find and Replace from Rick Fisher at www.rickworld.com
It's a shareware product.

Speed Ferret from www.speedferret.com
It's a commercial product.

Both get good reviews.

HTH
Signature

-Larry-
--

> Hi--I have a table that is used in hundreds of queries in my database.  When
> I run documenter for the table, I don't see these relationships.  How can I
> identify where this table is used in multiple queries?
>
> Thanks
Paul Shapiro - 11 Jan 2008 01:53 GMT
Here's the code I use to find which queries use a particular column in all
queries. Looking at it, it just looks for a piece of text occuring in the
sql, so it would find tables as well.
Paul Shapiro

   Dim qdf As DAO.QueryDef
   Dim strOut As String

   strOut = "Searching for the string: " & strFieldname

   'Search the querydefs
   strOut = strOut & vbCrLf & "Used in Queries: "
   For Each qdf In CurrentDb.QueryDefs
       If InStr(qdf.SQL, strFieldname) Then
           strOut = strOut & vbCrLf & "   " & qdf.Name
       End If
   Next

> Hi--I have a table that is used in hundreds of queries in my database.
> When
> I run documenter for the table, I don't see these relationships.  How can
> I
> identify where this table is used in multiple queries?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.