How do I get the database to notify me with an email???

TYLER_DURDEN

Registered User.
Local time
Today, 07:09
Joined
Mar 20, 2003
Messages
22
I need my database to send me an email notifying me of certain individuals five days before a scheduled appointment. Basically, I want to receive an email stating the names of individuals that will have an appointment 5 days from now. I currently have a query setup with that will automatically build my dates from the first appointment, but I need that notification 5 days prior to each appointment. Do I make sense? If so, can anyone help me???

TD
 
Use criteria in your query to get the correct entries. For instance,

now() - 5

date() + 2

etc...

Then use the outlook object model to send your email

Code:
Dim objEmail as Outlook.MailItem

Jon
 
Why dont you just run a daily report to provide this information?

If you want automated emailing then you start to get into the realms of code, which can be tricky.
 

Users who are viewing this thread

Back
Top Bottom