Select Print Total

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MyWaterloo
    New Member
    • Dec 2007
    • 135

    Select Print Total

    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.
  • IT Couple
    New Member
    • May 2009
    • 36

    #2
    Hi

    Try this code
    Code:
    dim intNumberOfCopies as Integer
    intNumberOfCopies  = me.controlname
    
    DoCmd.PrintOut acPrintAll, , , , intNumberOfCopies
    Regards
    Emil
    Last edited by NeoPa; May 26 '09, 01:09 PM. Reason: Please use the [CODE] tags provided.

    Comment

    • MyWaterloo
      New Member
      • Dec 2007
      • 135

      #3
      Thanks! I'll give it a go tommorrow at work.

      Comment

      Working...