I am trying to create a table of contents for a report. I am using the basic procedure shown in this link: .
This basically has you update another table using the OnPrint event whenever the GroupHeader changes.
My problem is that this table does not get updated on a print preview unless the user scans through the entire report or prints the report. What I would really like to do is run through the report one time, create the TOC table, then print the TOC and then immediately follow it with the report.
Any suggestions?
Thanks.
This basically has you update another table using the OnPrint event whenever the GroupHeader changes.
My problem is that this table does not get updated on a print preview unless the user scans through the entire report or prints the report. What I would really like to do is run through the report one time, create the TOC table, then print the TOC and then immediately follow it with the report.
Any suggestions?
Thanks.