Is is possible to print a report (that's already been generated and in "preview" mode) by hitting a "print" button that's on a form?
I'm trying to do this with
DoCmd.PrintOut
I realize that this command will print out the currentlyactive object, so I'm thinking I have to make the Report active first with some type of .SetFocus command, but once that .SetFocus has been run, the DoCmd.PrintOut code on the form wouldn't be run...
I'm trying to do this with
DoCmd.PrintOut
I realize that this command will print out the currentlyactive object, so I'm thinking I have to make the Report active first with some type of .SetFocus command, but once that .SetFocus has been run, the DoCmd.PrintOut code on the form wouldn't be run...