Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Automatically Print Reports

Discussion in 'Information Technology' started by Paul Goldman, Jul 28, 2006.

  1. Paul Goldman

    Paul Goldman
    Expand Collapse
    Guest

    I would like to have a report automatically printed at midnight every night.
    I have created a report that generates a report for records generated that
    day. I would like to create an .mde file and then would like to schedule the
    mde file to run at midnight using the Windows Task Manager.

    My problem is I'm really rusty with Access (2003) and don't remember how to
    do it. Would some please let me know EXACTLY how I would go from the report
    (which is already created an working), to having it automatically print when
    I launch the .mde file.

    Thanks.
     
  2. Loading...

    Similar Threads Forum Date
    Footprints Of Guru Nanak In Sri Lanka History of Sikhism May 27, 2016
    Sikhism Preserving the Sikh heritage in Print Sikh Sikhi Sikhism Jan 12, 2016
    Guru Nanak's Foot-Prints in Baghdad's Sands Blogs Oct 22, 2015
    My Story Printed in Sikh Review Sept 2015 Issue Convert's Corner Oct 19, 2015
    Sakhis In The Footprints Of Guru Nanak... Redeeming Noorshah-the Magical Woman Of Kamroop History of Sikhism Mar 18, 2015

  3. John Vinson

    John Vinson
    Expand Collapse
    Guest

    On Tue, 20 Jun 2006 02:19:11 GMT, "Paul Goldman"
    <paulgoldman1948@hotmail.com> wrote:

    >I would like to have a report automatically printed at midnight every night.
    >I have created a report that generates a report for records generated that
    >day. I would like to create an .mde file and then would like to schedule the
    >mde file to run at midnight using the Windows Task Manager.
    >
    >My problem is I'm really rusty with Access (2003) and don't remember how to
    >do it. Would some please let me know EXACTLY how I would go from the report
    >(which is already created an working), to having it automatically print when
    >I launch the .mde file.


    Create a macro, RunRpt say, with just one line - use the macro wizard
    to print the report.

    In the command line on the Task Manager, use the /x command to execute
    the macro:

    "C:\Program Files\Office\Office11\msaccess.exe" "K:\SomePath\your.mdb"
    /x RunRpt

    all on one line of course.

    John W. Vinson[MVP]
     

Share This Page