![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am a begginner and have created a database where I work and on one of the forms I have a Print button that will print a report. Is there anyway to have that Print button to pull up a Print Dialog box first so that I can select how many copies to print before it prints the report? Thanks |
#3
| |||
| |||
|
|
On Wed, 7 Apr 2010 11:24:39 -0700 (PDT), BamaBlast timbwilli... (AT) gmail (DOT) com> wrote: I am a begginner and have created a database where I work and on one of the forms I have a Print button that will print a report. *Is there anyway to have that Print button to pull up a Print Dialog box first so that I can select how many copies to print before it prints the report? Thanks The only way I can think of is to bring up the report in preview mode. The user can press Ctrl+P to bring up the print dialog box. DoCmd.OpenReport "letInquiryMulti", acPreview -pw |
#4
| |||
| |||
|
|
On Apr 7, 3:05*pm, PW <emailaddyin... (AT) ifIremember (DOT) com> wrote: On Wed, 7 Apr 2010 11:24:39 -0700 (PDT), BamaBlast timbwilli... (AT) gmail (DOT) com> wrote: I am a begginner and have created a database where I work and on one of the forms I have a Print button that will print a report. *Is there anyway to have that Print button to pull up a Print Dialog box first so that I can select how many copies to print before it prints the report? Thanks The only way I can think of is to bring up the report in preview mode. The user can press Ctrl+P to bring up the print dialog box. DoCmd.OpenReport "letInquiryMulti", acPreview -pw Thank you for your response. I finally found some code that would do what I wanted. See below. DoCmd.OpenReport "RPT_I created", acViewPreview DoCmd.RunCommand acCmdPrint Can anyone tell where to get a cheat sheet of "DoCmd." Commands? I have no idea what are available to use and what they do. I am using Access 2003. Thx |
![]() |
| Thread Tools | |
| Display Modes | |
| |