PC Review


Reply
Thread Tools Rate Thread

Automated Email

 
 
=?Utf-8?B?U3RydWdnbGluZyB0byBsZWFybiBzb2xv?=
Guest
Posts: n/a
 
      17th Jul 2007
I have fields that require dates. I need to send some type of reminder by
email or other ways to the person that owns the account. The field is filled
in about 75 days before the information is due. I need the reminder to be
emailed to the owner, whose name is in the form, a week before the due date.
I apologize if this is already answered....
 
Reply With Quote
 
 
 
 
Scott McDaniel
Guest
Posts: n/a
 
      18th Jul 2007
On Tue, 17 Jul 2007 14:54:02 -0700, Struggling to learn solo <(E-Mail Removed)> wrote:

>I have fields that require dates. I need to send some type of reminder by
>email or other ways to the person that owns the account. The field is filled
>in about 75 days before the information is due. I need the reminder to be
>emailed to the owner, whose name is in the form, a week before the due date.
>I apologize if this is already answered....


You can use DoCmd.SendObject to send an email. This will, however, trigger the Outlook security warnings (if you're
using Outlook, that is). There are other ways to send email, but from your name I'd presume you want to keep this as
simple as possible. Check online help for info on SendObject.

To do this at a predetermined date, you'd need to use either a recordset or DLookup to grab the due date, then compare
that with the current date using the DateDiff function:

If DateDiff("d", Nz(DLookup("DueDateField", "TableName"),0), Now) >= 75 then
'send the email
End If

You might do this when the database opens, or when a user clicks a button ...

Scott McDaniel
scott@takemeout_infotrakker.com
www.infotrakker.com
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automated Email Noob McKnownowt Microsoft Excel Programming 2 2nd Sep 2008 03:53 PM
Access/Outlook with automated email and email merge. =?Utf-8?B?Q1YgU29jY2Vy?= Microsoft Access 2 12th Nov 2007 12:15 AM
How to send an automated email to email addrs in my Access db? =?Utf-8?B?SnVsaWU=?= Microsoft Access Macros 2 24th Jan 2006 10:44 PM
Re: Automated email Geoff Microsoft Access VBA Modules 0 4th Jul 2004 02:06 AM
automated email Deb Microsoft Windows 2000 2 3rd Jun 2004 11:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:25 AM.