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.
 
Back
Top