(Q) I need to bring up the Print dialog window from code so that the user can select
the number of copies to print among other options. How can I do this?
(A) In Access 97, there is a RunCommand constant defined for this purpose.
DoCmd.RunCommand acCmdPrint
Make sure that you have error handling in place to trap the error (number 2501) that
will be generated if the user clicks Cancel. You can also use On Error Resume Next
statement.
|