lekmall
02-26-2004, 08:57 AM
Does anyone know how to create a report with a table of contents that includes page numbers and be able to save the report?
I can create the report OK if the user wants to preview or print the report by running the report twice - first to get the page numbers and store them in a table and then running it again to present it to the user. I use the docmd.openreport for this.
But the DoCmd.OutputTo acOutputReport,... method doesn't work. The table of contents is always blank.
??
I can create the report OK if the user wants to preview or print the report by running the report twice - first to get the page numbers and store them in a table and then running it again to present it to the user. I use the docmd.openreport for this.
But the DoCmd.OutputTo acOutputReport,... method doesn't work. The table of contents is always blank.
??