Results 1 to 2 of 2
  1. #1
    Philw is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Jun 2014
    Posts
    4

    Do not display print dialogue box

    I am new to Access 2010 and have written a database with a Reports Menu with a series of command buttons each of which prints a report.



    These buttons have been produced using the standard design wizard to 'print a report'.

    However each of these puts up the print dialogue box to select a printer.

    I want these buttons to effectively 'QuickPrint' - i.e. to print to the default printer without putting up the print dialogue b ox.

    Does anyone know how I edit the 'on click' macro to achieve this please?

    Thanks in anticipation for help.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Post your code.

    The following will default direct to printer:

    DoCmd.OpenReport "report name"

    If you want to be explicit:

    DoCmd.OpenReport "report name", acNormal
    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. Replies: 4
    Last Post: 08-19-2013, 10:29 AM
  2. Display and print group records in one page only?
    By wittybrent in forum Reports
    Replies: 1
    Last Post: 05-11-2013, 09:25 AM
  3. Change Text in Parameter Dialogue Box
    By Traceyann in forum Queries
    Replies: 5
    Last Post: 08-29-2012, 10:49 PM
  4. Display/print Report with two tables
    By geraldk in forum Reports
    Replies: 5
    Last Post: 07-30-2012, 02:41 PM
  5. SaveAs Dialogue box
    By saqqer in forum Programming
    Replies: 8
    Last Post: 09-10-2009, 10:49 AM

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