dos command / e-mail notification --> through Access

G

Guest

How can I execute a dos command (net send ...) or send e-mail notification
through VBA, once a task in ACCESS is complete. Can someone provide the
command or direct me to appropriate site for code/example. Thanks.

- Vijay
 
J

John Nurick

Hi Vijay,

You can use
DoCmd.SendObject acSendNoObject ...
to send a simple email notification.

Otherwise, there's the Shell() command, e.g.

lngRetVal = Shell("NET SEND ...")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top