Thank you. It is an excellent start. I have read briefly about pulling from the sys tables in Access, but this is the first time I have ever seen any code related to it. I need to pull it apart and see if I can modify it to my needs. I wanted to thank the poster at Stack Overflow but couldn't figure out how on their system. So credit and thanks to Igor Turman, Stack Overflow, for the following example:
Code:
SELECT DISTINCT MSysObjects.Name
FROM MSysQueries INNER JOIN MSysObjects ON MSysQueries.ObjectId=MSysObjects.Id
WHERE (((MSysQueries.Name1) Like "*" & [TableName] & "*")) OR (((MSysQueries.Name2) Like "*" & [TableName] & "*"))
Thanks to you drunkenneo.
Phred