Thanks to Bob, my program works perfectly.
Now, rather than sending the reports to the printer, I want to save them as PDFs. I'm generating hundreds of these, so I need to specify the filename of the PDF.
I need to turn this:
DoCmd.OpenReport "myReport", acViewPreview, , "[CclientID] =" &...