Can You Locate Fields?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

There are many queries built into our database. I changed one of the fields
from Text to Yes/NO. Is there any way to conduct a search to find out how
many of the queries use that field? Not too hopeful, but I had to ask. Thanks
 
Try

SELECT MSysQueries.Expression, MSysObjects.Name
FROM MSysQueries INNER JOIN MSysObjects ON MSysQueries.ObjectId =
MSysObjects.Id
WHERE MSysQueries.Expression Like "*FieldName*"
 
Go to menu TOOLS - Analyze - Documenter. Click on Queries, select all, and
click on Options to select your data. Click Ok and again Ok. Click on the
icon that is a 'W' to save the results as a Word document in Rich Text Format
(RTF file extention), then search for the field name.
 
Thanks that works great!

Ofer Cohen said:
Try

SELECT MSysQueries.Expression, MSysObjects.Name
FROM MSysQueries INNER JOIN MSysObjects ON MSysQueries.ObjectId =
MSysObjects.Id
WHERE MSysQueries.Expression Like "*FieldName*"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top