date function question (1 Viewer)

bonekrusher

Registered User.
Local time
Today, 10:21
Joined
Nov 19, 2005
Messages
266
Hi All,

I am using a date function that will send an email out on the first of the month. It runs on an "on open" event. My question is how do I get it to run once? Because the way I have it set up now, if the database is opened 20 times on the first of the month, it will send the email out 20 times.

any idea?

thx
 

modest

Registered User.
Local time
Today, 13:21
Joined
Jan 4, 2005
Messages
1,220
Make a table for when emails were sent.

If Date Not In Table then
SendEmail
End If

Or instead of doing the On Open, just attach it to a button and manually send it
 

Users who are viewing this thread

Top Bottom