Hi all,
I've got a report I want to export to PDF but not sure how to go about it. I know it's done using DoCmd.OutputTo acOutputReport, "rptNominalRollCC", acFormatPDF,
The report itself is based on a query that I've created and whilst the report works I'm struggling to get the loop to work. When opening the report, it will ask me to enter a cost centre and once entered will open the report detailing the cost centres details. What I'm trying to achieve is a loop to process a list of cost centres (store in table : "hhplCC") and automate the export process to save the PDFs to c:\nroll\*costcentre*.pdf
Any ideas?
Thanks
I've got a report I want to export to PDF but not sure how to go about it. I know it's done using DoCmd.OutputTo acOutputReport, "rptNominalRollCC", acFormatPDF,
The report itself is based on a query that I've created and whilst the report works I'm struggling to get the loop to work. When opening the report, it will ask me to enter a cost centre and once entered will open the report detailing the cost centres details. What I'm trying to achieve is a loop to process a list of cost centres (store in table : "hhplCC") and automate the export process to save the PDFs to c:\nroll\*costcentre*.pdf
Any ideas?
Thanks