Reputation: 25197
I have inherited a MS Access "application" and would like to trace all references to one of the fields.
Is there a way to search for the field (all google hits are for querying the table).
NOTE: I am not looking for any SQL help, I'd like something like the Visual Studio right-click -> find all references type thing.
Upvotes: 12
Views: 22658
Reputation: 6627
In my AccdbMerge utility there is a Find tool can search for a text across all loaded object definitions. Even though this is a diff&merge tool, this feature will work even if you will open only one file, and it is available in the free version which will search in tables, queries, macros, forms, reports and modules.
Upvotes: 0
Reputation: 7019
This is a good method because it is fast, free, and complete.
ALIAS
in a query.Caption
or Description
property of a table field. Tag
property.Upvotes: 26
Reputation: 4353
You can also do this without any external tools. MS Access has an option to show all references. You can do this by reight-clicking a table and choose the corresponding menu option.
However, some people have bad experiences with this option so the best thing to do might be to make a copy of the database and turn on the option there. (or just turn it off after you have the results you need).
Upvotes: -1
Reputation: 7882
See the Scan and replace utilities section at the Microsoft Access third party utilities, products, tools, modules, etc. page at my website.
Find and Replace is my preferred utility and it's quite inexpensive. There's a free limited version that works too. I've been using this tool for more than a decade. The author has also added some of my suggestions.
If you want a complete tool documenting all fields, etc, etc then you want FMS Inc's Total Access Analyzer 2007
Upvotes: 1