loaded reports

  • Thread starter Thread starter jsh02_nova
  • Start date Start date
J

jsh02_nova

Does anybody know how I can enumerate through all the loaded reports in
Access?
 
Does anybody know how I can
enumerate through all the loaded reports in
Access?

Open Reports are in the Reports collection, and the following code properly
enumerates them for me, running from a standard module in the database.

Function EnumerateReports() As Integer

Dim rpt As Report
Dim intNoDone As Integer
For Each rpt In Reports
Debug.Print rpt.Name
intNoDone = intNoDone + 1
Next
EnumerateReports = intNoDone

End Function

Larry Linson
Microsoft Access MVP
 

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