To send email does it need to be on its own Command Button (1 Viewer)

patkeaveney

Registered User.
Local time
Today, 06:34
Joined
Oct 12, 2005
Messages
75
I have a private sub which i am trying to use to sends emails from a form

At the moment I call the sub from within an ON click event (On add New Button) when a user saves a record,.

Will this work, or does the code to send emails have to be on a button of its own. send email(On Click event).

I have posted the code on another thread,
this is just to find out if i can embed the email code or not.

Thanks

Pat
 

Paul Buttress

Registered User.
Local time
Today, 06:34
Joined
Feb 4, 2008
Messages
25
Hi Pat

you can call your private sub when the [save] button is clicked by adding the line on the on-click event of the save button.

call {whatever you have called your email private sub}

Hope this helps!
 

Users who are viewing this thread

Top Bottom