Access 2010 Auto send query results via email

Hi
I have some simple query's that I would like to run and send via email from Access 2010
I have created a macro using the EmailDatabaseObject. It all works as expected, but Outlook has to be open for it to run. Is there a more sophisticated way to set this up? I'm looking to email reports on a certain day/ Time to users, without having to have outlook open.
George_MiltonAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jim Dettman (Microsoft MVP/ EE MVE)President / OwnerCommented:
There are several methods:

1. Using something that talks directly to am SMPT mail server, like BLAT or vbSendMail

2. Using CDO.

3. Using a 3rd party control or a commercial product like FMS, Inc's total mailer.

 Personally I like vbSendMail:

http://www.freevbcode.com/ShowCode.asp?ID=109

 Although it shows it being for VB6, it drops right into Access and only requires that the one DLL be referenced.

 Many use BLAT as well and both are free.   With either, that's the simplest you can get with sending e-mails and neither requires any other software installed on the client.

Jim.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Luke ChungPresidentCommented:
Take a look at our Microsoft Access add-in and VBA libraryTotal Access Emailer. It's the most popular Microsoft Access email program.

Total Access Emailer uses an SMTP server so it bypasses the MAPI/Outlook issues.

It includes an interactive Access add-in that runs within your Access database environment. That lets you setup your email blasts using your tables, queries, reports, etc. You can send personalized emails to each contact including attachments of PDF files filtered for each person.

The Professional Version includes a VBA library that lets you add email blasts in your VBA code.

Hope this helps.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.