MS Access 2010 - docmd.printout not printing specified number of copies
I'm almost to conclude it is a bug in MS Access. I am at the end of my string to know what to try next.
Here are my steps:
- Create new, blank 2010 format Access Database
- Create new report in database with no data source and only one label just so that there is something to print.
- Print Preview the report.
- Press Ctrl+G to bring up the immediate window
- Type
docmd.PrintOut,,,,10
and press enter. - Only one copy prints out!
I have done the same thing in my existing rather large database application and no matter what I do I can't get Access to print out more than one copy! There is one exception to this; there is ONE report that will work as normal and I can print out as many copies as I want. I have yet to find another report that works besides this one.
To make it even stranger, when I preview the report, click p开发者_Python百科rint on the ribbon and enter a quantity to print, I still only get one copy!
Does anyone have any other ideas of what to try or what the issue might be?
I am getting the same results that you report. As a work around, you could bind the report to a "numbers" table, that is, a table with integers from 1 to maximum required, and set the from and to pages, rather than number of copies.
精彩评论