name of all reports

  • Thread starter Thread starter hakeem777 via AccessMonster.com
  • Start date Start date
H

hakeem777 via AccessMonster.com

I am using access 97 and how do I get all the names of report by macro or vb
code? Thanks.
 
Here you go:
SELECT MSysObjects.Name
FROM MSysObjects
WHERE MSysObjects.Type = -32764
ORDER BY MSysObjects.Name;

As you found, you can't use the AllReports collection in Access 97.
 

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

Back
Top