Hello all,
I am trying to create a listbox which will show the captions of all reports in the database.
In order to do this, without having to load and unload each report by using the Reports collection and taking up time and resources, I think that I have to use the "Report_<Name of Report>" objects that appear under "Microsoft Office Access Class Objects" in the VBA Project Window (and then use "Report_<Name of Report>.Caption" to read the report's caption). I understand that these are objects belonging to a collection, but which collection is it?
It would be very helpful if somebody could share the answer to this question, or indicate another way to access a report's properties.
Thank you very much for your time and help,
George
I am trying to create a listbox which will show the captions of all reports in the database.
In order to do this, without having to load and unload each report by using the Reports collection and taking up time and resources, I think that I have to use the "Report_<Name of Report>" objects that appear under "Microsoft Office Access Class Objects" in the VBA Project Window (and then use "Report_<Name of Report>.Caption" to read the report's caption). I understand that these are objects belonging to a collection, but which collection is it?
It would be very helpful if somebody could share the answer to this question, or indicate another way to access a report's properties.
Thank you very much for your time and help,
George