I have a report that I want to print a table of contents at the beginning of the report. I have found a way to do this but it involves printing the main report and then printing a seperate cover page for the table of contents. The only way I have been able to get this to work is to create a table to store the table of contents data in. This data is generated when the report is previewed or printed. The only way I can think of generating this data is to put code into the On_Print event of the group header. The Table of Contents data is not generated until all the pages are previewed. Is there a way I can preview all the pages and then go back to the first page with code? I tried the gotopage method but I couldn't get it to work, maybe I wasn't paying attention since I was tired...is there a way to do this? Or any other ideas??
Thanks
Rick
Thanks
Rick