I have a requirement at work to print an Access report to a pdf file programmatically which I have already completed. However an interesting problem has come to light, which is this; if the report displays the Input Parameter dialog I don't want to display it to the user but I do want to know if this happens.
Right now I'm creating an instance of the Access application object and using DoCmd to open and print the report, Access itself is not visible but if a report is opened that displays the input dialog the dialog is displayed even though Access is not visible. I would like to know if the report is going to display the input dialog and trap for that somehow?? Thanks, Steve
