automatic start up???

wendi_b

New member
Local time
Today, 02:46
Joined
Apr 20, 2006
Messages
8
Hi, does anybody know if it is possible to start up access automatically to do something and then close again?

I would like the db to check for dates in a table and if that date is today to send an email. If no one opens up the db then it won't do that...

Is that possible with access????
 
Haven't done this, but...
Use windows ControlPanel/ScheduledTasks to open the db. Make sure you set your macro security in Access to 'Low' to eliminate the need for user intervention. (Speaking of which, are you able to send emails from the db without user intervention?)
 
Yes, I can send emails without user intervention. I will try to do it the way you described, thanks.
Wendi
 
I would be intrested in that emailing, as now adays outlook requires user intervention for sending emails...
 
Nice to know, but not really an option for me....
 
RE: Circumventing Outlook security warnings...
I have used Outlook Redemption with good results. Also, if you have access to an SMTP server, that's another way to go.

Check out www.slipstick.com for further discussions on the subject.
 
To much reading to do, ;)

Page bookmarked for future ref... Thanks
 
I have the on load event of the form that loads when the db starts up call the next function, you have to have the cdo file set as reference.

Code:
Public Function Email()

Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.From = "example"
objMessage.To =strRecipient
objMessage.TextBody = "This is some sample message text."
objMessage.Send

End Function

The only problem I have now is to not make the db send it more than once.
 

Users who are viewing this thread

Back
Top Bottom