Results 1 to 3 of 3
  1. #1
    oriongate is offline Novice
    Windows 7 64bit Access 2003
    Join Date
    Jul 2011
    Posts
    7

    Post Printing two reports individually from same prind cmd button.

    Hello,
    I was wanderindering if it is possible to print two or more reports individually from the same cmd button. If yes, I would really apreciate if someone could suggest a basic vb code for it. My form is becoming very cluttered and a solution like the one above would certainly solve that problem for me.
    Thanks.oriongate

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    In the immortal words of Nike, just do it:

    DoCmd.OpenReport "FirstReportName"
    DoCmd.OpenReport "SecondReportName"
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Is it cluttered because you have a button for each report to print? Do you still want to offer users ability to pick and choose which to print? Instead of buttons, use a listbox that offers the reports to print then use AfterUpdate event of listbox to print the selected item. If the report name is exactly replicated in the listbox, simply:

    DoCmd.OpenReport Me.listboxname
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Printing reports in batches
    By mnsemple83 in forum Access
    Replies: 6
    Last Post: 08-16-2011, 03:41 PM
  2. Replies: 3
    Last Post: 05-23-2011, 01:52 PM
  3. Printing reports off a list box
    By kbandong1 in forum Reports
    Replies: 3
    Last Post: 03-05-2011, 09:51 PM
  4. Replies: 0
    Last Post: 04-19-2008, 09:08 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