By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,611 Members | 1,464 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,611 IT Pros & Developers. It's quick & easy.

Select Print Total

100+
P: 135
Hi,
I have a databases used to keep track of our purchase orders at my company. There are times when I need to print one copy of an order and times when I need to print multiple. Instead of having the user click the button for each copy he needs I would like to be able to add a box that he can type the desired number of copies in. What code can I add to my print button that will take the number entered into a text box and print that many copies? Thanks as always.
May 15 '09 #1
Share this Question
Share on Google+
2 Replies


P: 36
Hi

Try this code
Expand|Select|Wrap|Line Numbers
  1. dim intNumberOfCopies as Integer
  2. intNumberOfCopies  = me.controlname
  3.  
  4. DoCmd.PrintOut acPrintAll, , , , intNumberOfCopies
Regards
Emil
May 15 '09 #2

100+
P: 135
Thanks! I'll give it a go tommorrow at work.
May 15 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.