Todd -
You can open any existing module, or clik on the New tool in the Modules
Window to open the VBA editor. From there, Ctrl F or the binocular tool
to
bring up the Find dialog box. In here, select 'Current Project' to search
all code in the database for the table or query name you enterin the 'Find
What:' box.
As for looking for a table or query in queries, I wrote this query a while
back to do that - you enter the table or query name at the prompt, and it
will list the queries that use that table/query.
PARAMETERS QueryTableName Text ( 255 );
SELECT MSysObjects.Name
FROM MSysQueries INNER JOIN MSysObjects ON MSysQueries.ObjectId =
MSysObjects.Id
WHERE (((MSysQueries.Name1)=[QueryTableName])) OR
(((MSysQueries.Name2)=[QueryTableName])) OR (((MSysQueries.Expression)
Like
"*" & [QueryTableName] & "*"))
GROUP BY MSysObjects.Name;
--
Daryl S
Todd Heiks said:
Is there a utility that I can use to see if a table or query is used in
an
Access database?
Is there a way to open a module as a searchable string?
Thanks.
.