Need to know if it is possable to have a series of reports to run automaticly in access2000 with out promting the user to do it and have it based on a time of say as in
If it is 6 am in the morning automaticly run such and such reports.
Dom
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Is there a autoaction based on time
Hi Dom,
There have been several threads discussing automating things in Access to happen at a certain time. The best way I would recommend is to create a macro for the desired process, then use the Windows Task Scheduler and an Access Command-Line switch to have the process run at a desired time. For example, if your macro is named “mcrPrintMorningReports” you could put the following command line in the Windows Task Scheduler (for 6AM every weekday):
"C:Program FilesMicrosoft OfficeOfficeMSAccess.exe /x mcrPrintMorningReports"
Post back if you need more info…HTH
Good Morning,
I am currently running reports and other tasks by using the Scheduler program which you can download for free from ..http://www.mvps.org/access/.
What I did was write a public function to determine what day it was and in the OnOpen event of a hidden form, which is loaded OnOpen of the db, is call the public function. After the reports print, a PrintLog is updated with what reports were printed and when. A dialog also informs of the reports that printed, I click OK…the db closes…until the next day. This way the REPORTS db could house ALL reports that are printed progmatically.
The scheduler program knows what day, time and database to open…then Access does the rest…
Hope this helps and good luck.
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.
Notifications