I would like to generate a table of contents within an existing Access report.

I imagine the TOC could be done as a subreport within the main report.

The TOC would need to refer to the pages on which the other sections of the report have been generated.

Any ideas on how that could be done?