Find a SQL statement in an Access app

Hi Experts,

I am wondering how can I find where a particular SQL is programmed in my Access App?

This is linked to SQL BE and its executing the following sql statement

SELECT "ID" ,"EmployeeID" ,"Day" ,"ReplacedEmployeeID" ,"EmployeesNotes" 
 FROM "dbo"."PatientsEmployeesSchedule" WHERE NOT(("EmployeesNotes" IS NULL ) ) 

Open in new window


I thought of an idea, if its possible to convert the entire app to text file (like its possible for a particular form) and then just do a text search?
LVL 6
bfuchsAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dale FyeOwner, Developing Solutions LLCCommented:
I use Rick Fisher's Find and Replace application.
chaauCommented:
Alternatively, you can use a feature called "Database Documenter". Open this tool, go to every tab page and select all objects. Then Select the OK button. Wait a few seconds (minutes - if your database has a lot of objects). A report will be generated. Then use the "Export to text file" utility to export the report. You can then use the notepad to search for the string.Database Documenter

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
bfuchsAuthor Commented:
Tested both and they work fine
Thank You!

(Selected chaau's as there is no need to purchase 3rd party software)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.