Is there a global search in Access (1 Viewer)

Gkirkup

Registered User.
Local time
Today, 15:32
Joined
Mar 6, 2007
Messages
628
I am working on a big application that has been developed over ten years. I have a field that is not getting updated in one of the tables (POLATE) and have no idea where that field should be getting updated. Is there an option to put POLATE into a search and find out where that field is accessed?

Robert
 

theDBguy

I’m here to help
Staff member
Local time
Today, 15:32
Joined
Oct 29, 2018
Messages
21,453
Hi. Nothing builtin, but there are utilities available for download.
 

Gkirkup

Registered User.
Local time
Today, 15:32
Joined
Mar 6, 2007
Messages
628
DBguy, can you give me the name of that utility or where to get it? It would be very useful.

Robert
 

Pat Hartman

Super Moderator
Staff member
Local time
Today, 18:32
Joined
Feb 19, 2002
Messages
43,214
Total Access Analyzer by FMSINC.com isn't a search utility. It is a documentation utility but it produces some great cross reference documentation that might be useful.

If the application has even a modicum of organization, each table should be updated in one and only one place so you could start by looking for the queries bound to that table (Access has this feature built in. You don't need an addin) and then using the query list, find the form bound to a query or the table itself.
 

Isaac

Lifelong Learner
Local time
Today, 15:32
Joined
Mar 14, 2017
Messages
8,774
@Gkirkup
Other than doing a Find in the vba project for the term you're searching for (which might identify code where someone used VBA to execute an INSERT, UPDATE or recordset-based change:

If you have any particular desire to learn VBA or to further practice what you already know, this exact scenario is one where I've found it very rewarding to write some code that searches for things, you may or may not be interested but if you do it you learn some very useful things. Some ideas are:

- loop through the Querydefs collection, examine their .Sql property to find specific text
- loop through the AllForms collection, each form's controls, and examine their .Controlsource property

I wish I could post the code I last used, but it was at my 2nd to last job and I did not save or take it with me. Also, once you build something like that, it's very handy to reuse for migration or project scoping purposes when you come across a db you're less familiar with. It's a lot easier than you might think and really hones your knowledge by doing it yourself.
 

isladogs

MVP / VIP
Local time
Today, 23:32
Joined
Jan 14, 2017
Messages
18,209
I also use V-Tools and it works very well...plus its free
Alternatively, Phillip Stiefel has a Find and Replace utility with even deeper search functionality but it is a commercial application.
 

Users who are viewing this thread

Top Bottom