Find all references to a query in it's MS Access DB

R

RWM

I need a module that when run would provide a list of all
the objects (reports, forms, other queries,etc.) that
reference that query in the MS Access DB. Do you know of
one ?
 
C

Chris2

RWM said:
I need a module that when run would provide a list of all
the objects (reports, forms, other queries,etc.) that
reference that query in the MS Access DB. Do you know of
one ?


RWM,

The short answer:

FMS Software writes a 3rd Party product that purports to handle this, but
I've never used it, so I'm not sure how well it works.

Or . . . write a VBA module that iterates through the appropriate
properties (ControlSource, etc.) of every Form and Report, and every control
on every Form and Report, and through the SQL properties of all QueryDefs,
keeping an accumulative list of hits whenever the search runs across a
QueryDef name.


Sincerely,

Chris O.
 

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

Top