Welcome to SPN

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

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

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
    In The Footprints Of Guru Nanak- Fourth Journey In Punjab Sikh Sikhi Sikhism Dec 22, 2016
    In The Footprints Of Guru Nanak-Fourth Itinerary Sikh Sikhi Sikhism Dec 18, 2016
    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

  3. OP
    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]
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page