If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Email report automatically on a weekly basis

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-04-12, 10:05
cheeser89 cheeser89 is offline
Registered User
 
Join Date: Dec 2011
Posts: 25
Email report automatically on a weekly basis

I have a report with a bunch of ReTrain Dates for each employees. Some are in the next 30 days, 60 days, etc.

I have a macro button now that when you click on it, it emails the report to all the supervisors, but only onclick.

Is there a way to generate the macro to automatically send the report via email on a weekly or monthy basis to the supervisors without clicking on a button?
Thanks in advance!
Reply With Quote
  #2 (permalink)  
Old 01-04-12, 11:25
healdem healdem is online now
Jaded Developer
 
Join Date: Nov 2004
Location: out on a limb
Posts: 9,250
yes
consider running a copy of Access at a pre set time using the windows scheduler.
http://www.google.co.uk/#hl=en&sa=X&...w=1600&bih=815

open that copy of the access application using the command line switch to specify the application the macro and so on
How to use command-line switches in Microsoft Access

you can specify what workgroup and god knows what else

bear in mind any process will have to run without any user intervention so you might need to consider what error handling you use, any process logging (so you knwo what has been done or sent) and if the application makes changes to the db how you will handle data recovery
__________________
I'd rather be riding my Versys or my Tiger 800 let alone the Norton
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On