View Single Post
  #4  
Old March 17th, 2010, 10:51 AM posted to microsoft.public.access.tablesdbdesign
Stefan Hoffmann
external usenet poster
 
Posts: 991
Default A "push" function to produce an email on an event

hi Tony,

On 16.03.2010 18:50, TonyWilliams via AccessMonster.com wrote:
Thanks Stefan. I've had a look at Scheduled Tasks and it appears to run a
named application. Is it possible to create a task that runs a partricular
query in a specified database?

Take a look at the Access command-line options link. You can specify a
macro to run.

imho the better approach is to create an extra database (front-end) for
that task. The task itself is started with the AutoExec macros Run Code
action.

In this called method you can now run your query to check whether you
have to create E-Mails /or task items. This can be done by using Outlook
automation:

http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx
http://support.microsoft.com/kb/161088

and

http://www.everythingaccess.com/tuto...curity-Warning

Presumably the same would apply to using
Outlook in that Outlook would only alert that the task needs to be run but
owukdn't actually run the query?


http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx


mfG
-- stefan --