Results 1 to 3 of 3
  1. #1
    AKQTS is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jul 2010
    Posts
    56

    Printing multiple reports with one command

    I have a program with orders and batches

    One order = multiple batches

    The reports are generate from the batch numbers because I have subreports and different logic statements allowing visibility to turn on or off so when I query up my report it is only the current batch selected.

    When I click the print button I need it to print the report for all batches of the same order.



    What command can I use to get this to cycle and print out each batch report for an entire order with one button click?

    If you cannot tell I am lost on this one.

    Thanks!

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    A macro comes in handy for this. You can set up a macro to OpenReport - and default it to be print (rather than preview) and just repeat that for each report you have.

    Save & close that macro with a name....and then make a button and option it to run that macro.

  3. #3
    AKQTS is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Jul 2010
    Posts
    56
    That is what I have done in the past, but what I am trying to do is loop through all of my batch record reports. I am needing help on writing VB to starting printing at batch 1 for an order and print through Max(batch number). Some orders have one batch, some orders have 10, some have 3......

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Printing Reports & Send to PDF
    By Dnphm in forum Reports
    Replies: 4
    Last Post: 02-13-2018, 07:25 PM
  2. Looping code for printing reports
    By Lockrin in forum Access
    Replies: 2
    Last Post: 02-09-2010, 05:48 AM
  3. Printing reports and cycling through records
    By dabman in forum Programming
    Replies: 4
    Last Post: 12-15-2009, 11:45 PM
  4. How to automate printing and saving reports
    By lilynet in forum Programming
    Replies: 0
    Last Post: 02-10-2009, 01:33 PM
  5. Printing Reports....
    By Danny Christie in forum Reports
    Replies: 1
    Last Post: 12-06-2006, 05:51 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums