Link to home
Start Free TrialLog in
Avatar of geeta_m9
geeta_m9

asked on

Looking for All Occurrences of a Query

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.
SOLUTION
Avatar of mbizup
mbizup
Flag of Kazakhstan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
In fact, the functionality is second to none.
You can even search table fields for data ... and a LOT more.

mx
concur with all of the above.
Avatar of geeta_m9
geeta_m9

ASKER

The website doesn't appear to  have an evaluation copy, though. You have to purchase it right away.
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can evaluate - but not all features are available ....

mx
Yes, I noticed that.
If you plan to work with Access dbs ... this tool is indispensable ... worth 100x the cost.

mx
You are right! This tool works very well.

Thanks for the recommendation! I found I was looking for very quickly.
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.
Noted, thank you!

G
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.

User generated image
mx
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.
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.