How to search through Access macros? -


my access database has query which, suspect, called macros or other queries. there way run find on "code" of macros and/or queries, text string (in case, query name)?

this lists tables & queries:

select iif([type] = 5, "query", "table") [object type]     ,msysqueries.flag [query type]     ,msysobjects.name     ,msysobjects.id     ,msysobjects.type msysobjects left join msysqueries on msysobjects.id = msysqueries.objectid group iif([type] = 5, "query", "table")     ,msysqueries.flag     ,msysobjects.name     ,msysobjects.id     ,msysobjects.type having (         (             (msysobjects.name) not "~*"             , (msysobjects.name) not "msys*"             )         , (             (msysobjects.type) = 1             or (msysobjects.type) = 4             or (msysobjects.type) = 6             or (msysobjects.type) = 5             )         ) order iif([type] = 5, "query", "table") desc     ,msysqueries.flag     ,msysobjects.name; 

and 1 lists each object , queries reference it:

select [~msys tables & queries].name [object]     ,msysobjects.name [used in query] [~msys tables & queries] left join (     msysqueries left join msysobjects on msysqueries.objectid = msysobjects.id     ) on [~msys tables & queries].name = msysqueries.name1 group [~msys tables & queries].name     ,msysobjects.name order [~msys tables & queries].name     ,msysobjects.name; 

i don't know how search through macros same way. also, i'm not sure picks objects used in union queries.

i hope gives place tro start.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -