?
Solved

Looking for All Occurrences of a Query

Posted on 2013-01-07
16
Medium Priority
?
314 Views
Last Modified: 2013-01-07
What is the easiest way for me to do a search on where a particular query occurs in the database application. I would like to see a list of wherever this query is defined or called. This includes all objects within the database, e.g., modules, forms, tables, etc.
0
Comment
Question by:geeta_m9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 5
  • 3
  • +2
16 Comments
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 400 total points
ID: 38751781
I haven't used this myself but many Experts here highly recommend this Find and Replace tool:
http://www.rickworld.com/
0
 
LVL 75

Assisted Solution

by:DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform)
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 400 total points
ID: 38751792
Best tool ever ... I use is daily.

http://www.rickworld.com/products.html#Find%20and%20Replace%209.0

Get it.
0
 
LVL 58
ID: 38751807
Well worth the price and have used it for years.   And it's not just a simple find and replace; there is a cross-reference utility in there that is great for figuring out and cleaning up old databases.

Jim.
0
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

 
LVL 75
ID: 38751830
In fact, the functionality is second to none.
You can even search table fields for data ... and a LOT more.

mx
0
 
LVL 48

Expert Comment

by:Dale Fye
ID: 38751865
concur with all of the above.
0
 

Author Comment

by:geeta_m9
ID: 38751958
The website doesn't appear to  have an evaluation copy, though. You have to purchase it right away.
0
 
LVL 48

Accepted Solution

by:
Dale Fye earned 400 total points
ID: 38751973
The second paragraph at:

http://www.rickworld.com/products.html#Find%20and%20Replace%209.0

says:

"The unregistered shareware version is available for download."

and contains a link.
0
 
LVL 75
ID: 38752050
You can evaluate - but not all features are available ....

mx
0
 

Author Comment

by:geeta_m9
ID: 38752062
Yes, I noticed that.
0
 
LVL 75
ID: 38752092
If you plan to work with Access dbs ... this tool is indispensable ... worth 100x the cost.

mx
0
 

Author Comment

by:geeta_m9
ID: 38752095
You are right! This tool works very well.

Thanks for the recommendation! I found I was looking for very quickly.
0
 
LVL 58
ID: 38752235
Don't skip the cross-reference utility...it's a button off to the right.

What it does is scan the entire DB and notes where an object is used.  For example, will tell you every place your query is called.

More importantly though it can return a list of all objects not used, which is very handy in cleaning up an old DB.

Jim.
0
 

Author Comment

by:geeta_m9
ID: 38752249
Noted, thank you!

G
0
 
LVL 75
ID: 38752267
Example of searching specific Fields in a table - for example say you have a Configuration table (or whatnot) - maybe you have have some query names in it - whatever. You can have F&R optionally search these custom properties ... VERY handy.

F
mx
0
 

Author Comment

by:geeta_m9
ID: 38752279
Some of these features are not available to me currently because I don't have the full version yet. However, I think I will purchase it. It is a pretty handy tool and doesn't cost very much.
0
 
LVL 48

Expert Comment

by:Dale Fye
ID: 38752319
as MX mentioned, easily worth 100x the cost.

If you are a professional developer, or are developing for your office, you can easily save the cost of the product the first time you use it to find, in your case, all instances where a particular query is referenced.

Even bigger help when changing the name of a field in a table, and all of the queries/reports/code where that field name is used.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
After seeing numerous questions for Dynamic Data Validation I notice that most have used Visual Basic to solve the problem. This suggestion is purely formula based and can be used in multiple rows.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question