G
Guest
Is there a way to loop through all the report objects and write their name
and description to an access table in the same database?
and description to an access table in the same database?
Allen Browne said:Yes, but why?
Access already has a list of all the reports in a table. You can query it
with:
SELECT [Name] FROM MsysObjects
WHERE (([Type] = -32764) AND ([Name] Not Like "~*") AND ([Name] Not Like
"MSys*"))
ORDER BY [Name];--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Reply to group, rather than allenbrowne at mvps dot org.
SHIPP said:Is there a way to loop through all the report objects and write their name
and description to an access table in the same database?
SHIPP said:Thanks a lot. That's perfect. Are there other values to look at other
objects
such as queries, tables, modules, macros, etc?
Allen Browne said:Yes, but why?
Access already has a list of all the reports in a table. You can query it
with:
SELECT [Name] FROM MsysObjects
WHERE (([Type] = -32764) AND ([Name] Not Like "~*") AND ([Name] Not Like
"MSys*"))
ORDER BY [Name];
SHIPP said:Is there a way to loop through all the report objects and write their
name
and description to an access table in the same database?